mirror of
https://github.com/containrrr/watchtower.git
synced 2025-09-22 05:40:50 +02:00
Merge pull request #37 from stffabi/CliConfigMoved
BuildFix: CliConfig moved.
This commit is contained in:
commit
180806c1cb
1 changed files with 4 additions and 4 deletions
|
@ -8,9 +8,9 @@ import (
|
||||||
"github.com/docker/docker/api/types"
|
"github.com/docker/docker/api/types"
|
||||||
"github.com/docker/docker/api/types/reference"
|
"github.com/docker/docker/api/types/reference"
|
||||||
"github.com/docker/docker/cli/command"
|
"github.com/docker/docker/cli/command"
|
||||||
"github.com/docker/docker/cliconfig"
|
"github.com/docker/docker/cli/config"
|
||||||
"github.com/docker/docker/cliconfig/configfile"
|
"github.com/docker/docker/cli/config/configfile"
|
||||||
"github.com/docker/docker/cliconfig/credentials"
|
"github.com/docker/docker/cli/config/credentials"
|
||||||
)
|
)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -58,7 +58,7 @@ func EncodedConfigAuth(ref string) (string, error) {
|
||||||
if configDir == "" {
|
if configDir == "" {
|
||||||
configDir = "/"
|
configDir = "/"
|
||||||
}
|
}
|
||||||
configFile, err := cliconfig.Load(configDir)
|
configFile, err := config.Load(configDir)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Errorf("Unable to find default config file %s", err)
|
log.Errorf("Unable to find default config file %s", err)
|
||||||
return "", err
|
return "", err
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue