Merge pull request #35 from stffabi/NewNativeStoreBuildFix

BuildFix:  Fixed Parameters of NewNativeStore call
pull/33/merge
David Gardner 8 years ago committed by GitHub
commit 4c244791c4

@ -87,7 +87,7 @@ func ParseServerAddress(ref string) (string, error) {
// on the settings provided in the configuration file. // on the settings provided in the configuration file.
func CredentialsStore(configFile configfile.ConfigFile) credentials.Store { func CredentialsStore(configFile configfile.ConfigFile) credentials.Store {
if configFile.CredentialsStore != "" { if configFile.CredentialsStore != "" {
return credentials.NewNativeStore(&configFile) return credentials.NewNativeStore(&configFile, configFile.CredentialsStore)
} }
return credentials.NewFileStore(&configFile) return credentials.NewFileStore(&configFile)
} }

Loading…
Cancel
Save