cliconfig: Fix error message about invalid credentials helper type

This commit is contained in:
Zach Whaley 2021-09-29 15:36:59 -05:00 committed by GitHub
parent f93f16824c
commit c9a5fdb366
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ func (c *Config) CredentialsSource(helperPlugins pluginDiscovery.PluginMetaSet)
for givenType, givenConfig := range c.CredentialsHelpers {
available := helperPlugins.WithName(givenType)
if available.Count() == 0 {
log.Printf("[ERROR] Unable to find credentials helper %q; ignoring", helperType)
log.Printf("[ERROR] Unable to find credentials helper %q; ignoring", givenType)
break
}