We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a6b878 commit 10f1fa1Copy full SHA for 10f1fa1
cmd/backup/script.go
@@ -109,7 +109,7 @@ func (s *script) init() error {
109
_, err := os.Stat("/var/run/docker.sock")
110
_, dockerHostSet := os.LookupEnv("DOCKER_HOST")
111
if !os.IsNotExist(err) || dockerHostSet {
112
- cli, err := client.New(client.FromEnv, client.WithAPIVersionNegotiation())
+ cli, err := client.New(client.FromEnv)
113
if err != nil {
114
return errwrap.Wrap(err, "failed to create docker client")
115
}
0 commit comments