mirror of
https://github.com/containrrr/watchtower.git
synced 2024-12-15 09:14:13 +02:00
Merge pull request #35 from stffabi/NewNativeStoreBuildFix
BuildFix: Fixed Parameters of NewNativeStore call
This commit is contained in:
commit
4c244791c4
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user