cliconfig: Fix error message about invalid credentials helper type
This commit is contained in:
parent
f93f16824c
commit
c9a5fdb366
|
@ -46,7 +46,7 @@ func (c *Config) CredentialsSource(helperPlugins pluginDiscovery.PluginMetaSet)
|
||||||
for givenType, givenConfig := range c.CredentialsHelpers {
|
for givenType, givenConfig := range c.CredentialsHelpers {
|
||||||
available := helperPlugins.WithName(givenType)
|
available := helperPlugins.WithName(givenType)
|
||||||
if available.Count() == 0 {
|
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
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue