mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-14 22:20:12 +01:00
Merge pull request #35 from stffabi/NewNativeStoreBuildFix
BuildFix: Fixed Parameters of NewNativeStore call
This commit is contained in:
commit
4c244791c4
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue