mirror of
https://github.com/offen/docker-volume-backup.git
synced 2025-12-06 01:28:03 +01:00
Bump github.com/moby/moby/client from 0.1.1-0.20251116162601-e9ff10bf365a to 0.2.1 (#682)
* Bump github.com/moby/moby/client Bumps [github.com/moby/moby/client](https://github.com/moby/moby) from 0.1.1-0.20251116162601-e9ff10bf365a to 0.2.1. - [Release notes](https://github.com/moby/moby/releases) - [Changelog](https://github.com/moby/moby/blob/v0.2.1/CHANGELOG.md) - [Commits](https://github.com/moby/moby/commits/v0.2.1) --- updated-dependencies: - dependency-name: github.com/moby/moby/client dependency-version: 0.2.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * API negotiation option is deprecated --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Frederik Ring <frederik.ring@gmail.com>
This commit is contained in:
@@ -109,7 +109,7 @@ func (s *script) init() error {
|
||||
_, err := os.Stat("/var/run/docker.sock")
|
||||
_, dockerHostSet := os.LookupEnv("DOCKER_HOST")
|
||||
if !os.IsNotExist(err) || dockerHostSet {
|
||||
cli, err := client.New(client.FromEnv, client.WithAPIVersionNegotiation())
|
||||
cli, err := client.New(client.FromEnv)
|
||||
if err != nil {
|
||||
return errwrap.Wrap(err, "failed to create docker client")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user