1
0
mirror of https://github.com/containrrr/watchtower.git synced 2024-12-12 09:04:17 +02:00

Merge pull request #35 from stffabi/NewNativeStoreBuildFix

BuildFix:  Fixed Parameters of NewNativeStore call
This commit is contained in:
David Gardner 2016-12-27 09:24:23 -08:00 committed by GitHub
commit 4c244791c4

View File

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