Upgrade docker sdk to moby (#491)

* Replace deprecated method

* Upgrade docker sdk to moby
This commit is contained in:
Stavros Panakakis
2021-09-07 14:03:13 +03:00
committed by GitHub
parent 94ec06a3fe
commit 3ee2975d76
17 changed files with 39 additions and 38 deletions

View File

@@ -4,8 +4,8 @@ import (
"context"
"testing"
dockerTypes "docker.io/go-docker/api/types"
"docker.io/go-docker/api/types/swarm"
dockerTypes "github.com/docker/docker/api/types"
"github.com/docker/docker/api/types/swarm"
"github.com/play-with-docker/play-with-docker/docker"
"github.com/play-with-docker/play-with-docker/event"
"github.com/play-with-docker/play-with-docker/pwd/types"

View File

@@ -4,7 +4,7 @@ import (
"context"
"log"
"docker.io/go-docker/api/types/swarm"
"github.com/docker/docker/api/types/swarm"
"github.com/play-with-docker/play-with-docker/docker"
"github.com/play-with-docker/play-with-docker/event"
"github.com/play-with-docker/play-with-docker/pwd/types"

View File

@@ -4,8 +4,8 @@ import (
"context"
"testing"
dockerTypes "docker.io/go-docker/api/types"
"docker.io/go-docker/api/types/swarm"
dockerTypes "github.com/docker/docker/api/types"
"github.com/docker/docker/api/types/swarm"
"github.com/play-with-docker/play-with-docker/docker"
"github.com/play-with-docker/play-with-docker/event"
"github.com/play-with-docker/play-with-docker/pwd/types"

View File

@@ -10,7 +10,7 @@ import (
"net/url"
"time"
dockerTypes "docker.io/go-docker/api/types"
dockerTypes "github.com/docker/docker/api/types"
units "github.com/docker/go-units"
lru "github.com/hashicorp/golang-lru"
"github.com/play-with-docker/play-with-docker/docker"

View File

@@ -7,7 +7,7 @@ import (
"io"
"testing"
dockerTypes "docker.io/go-docker/api/types"
dockerTypes "github.com/docker/docker/api/types"
"github.com/play-with-docker/play-with-docker/docker"
"github.com/play-with-docker/play-with-docker/event"
"github.com/play-with-docker/play-with-docker/pwd/types"