goimports -w \
-- "./pkg/discovery/file" "./pkg/discovery/kv" "./pkg/discovery/memory" "./pkg/discovery/nodes" "./integration-cli" "./integration-cli/daemon" "./pkg/discovery" \
&& \
gofmt -w -s \
-- "./pkg/discovery/file" "./pkg/discovery/kv" "./pkg/discovery/memory" "./pkg/discovery/nodes" "./integration-cli" "./integration-cli/daemon" "./pkg/discovery"
Signed-off-by: Tibor Vass <tibor@docker.com>
| ... | ... |
@@ -3,13 +3,13 @@ |
| 3 | 3 |
package main |
| 4 | 4 |
|
| 5 | 5 |
import ( |
| 6 |
+ "fmt" |
|
| 6 | 7 |
"testing" |
| 7 | 8 |
"time" |
| 8 | 9 |
|
| 9 | 10 |
"github.com/docker/docker/api/types/swarm" |
| 10 | 11 |
"github.com/docker/docker/integration-cli/checker" |
| 11 | 12 |
"github.com/docker/docker/integration-cli/daemon" |
| 12 |
- "github.com/go-check/check" |
|
| 13 | 13 |
"gotest.tools/assert" |
| 14 | 14 |
) |
| 15 | 15 |
|
| ... | ... |
@@ -17,7 +17,6 @@ import ( |
| 17 | 17 |
"github.com/docker/docker/integration-cli/cli/build" |
| 18 | 18 |
"github.com/docker/docker/integration-cli/daemon" |
| 19 | 19 |
testdaemon "github.com/docker/docker/internal/test/daemon" |
| 20 |
- "github.com/go-check/check" |
|
| 21 | 20 |
"golang.org/x/sys/unix" |
| 22 | 21 |
"gotest.tools/assert" |
| 23 | 22 |
"gotest.tools/icmd" |
| ... | ... |
@@ -27,7 +27,6 @@ import ( |
| 27 | 27 |
testdaemon "github.com/docker/docker/internal/test/daemon" |
| 28 | 28 |
"github.com/docker/docker/internal/test/request" |
| 29 | 29 |
"github.com/docker/swarmkit/ca" |
| 30 |
- "github.com/go-check/check" |
|
| 31 | 30 |
"github.com/pkg/errors" |
| 32 | 31 |
"gotest.tools/assert" |
| 33 | 32 |
is "gotest.tools/assert/cmp" |
| ... | ... |
@@ -25,7 +25,6 @@ import ( |
| 25 | 25 |
"github.com/docker/docker/internal/testutil" |
| 26 | 26 |
"github.com/docker/docker/pkg/archive" |
| 27 | 27 |
"github.com/docker/docker/pkg/system" |
| 28 |
- "github.com/go-check/check" |
|
| 29 | 28 |
"github.com/moby/buildkit/frontend/dockerfile/command" |
| 30 | 29 |
"github.com/opencontainers/go-digest" |
| 31 | 30 |
"gotest.tools/assert" |
| ... | ... |
@@ -14,7 +14,6 @@ import ( |
| 14 | 14 |
"github.com/docker/docker/api/types" |
| 15 | 15 |
"github.com/docker/docker/integration-cli/cli" |
| 16 | 16 |
"github.com/docker/docker/integration-cli/cli/build" |
| 17 |
- "github.com/go-check/check" |
|
| 18 | 17 |
"github.com/opencontainers/go-digest" |
| 19 | 18 |
"gotest.tools/assert" |
| 20 | 19 |
is "gotest.tools/assert/cmp" |
| ... | ... |
@@ -26,7 +26,6 @@ import ( |
| 26 | 26 |
"github.com/docker/libnetwork/ipamapi" |
| 27 | 27 |
remoteipam "github.com/docker/libnetwork/ipams/remote/api" |
| 28 | 28 |
"github.com/docker/libnetwork/netlabel" |
| 29 |
- "github.com/go-check/check" |
|
| 30 | 29 |
"github.com/vishvananda/netlink" |
| 31 | 30 |
"golang.org/x/sys/unix" |
| 32 | 31 |
"gotest.tools/assert" |
| ... | ... |
@@ -12,7 +12,6 @@ import ( |
| 12 | 12 |
"github.com/docker/docker/integration-cli/cli" |
| 13 | 13 |
"github.com/docker/docker/integration-cli/cli/build" |
| 14 | 14 |
"github.com/docker/docker/pkg/stringid" |
| 15 |
- "github.com/go-check/check" |
|
| 16 | 15 |
"gotest.tools/assert" |
| 17 | 16 |
is "gotest.tools/assert/cmp" |
| 18 | 17 |
"gotest.tools/icmd" |
| ... | ... |
@@ -15,7 +15,6 @@ import ( |
| 15 | 15 |
"github.com/docker/distribution/manifest/manifestlist" |
| 16 | 16 |
"github.com/docker/distribution/manifest/schema2" |
| 17 | 17 |
"github.com/docker/docker/integration-cli/cli/build" |
| 18 |
- "github.com/go-check/check" |
|
| 19 | 18 |
"github.com/opencontainers/go-digest" |
| 20 | 19 |
"gotest.tools/assert" |
| 21 | 20 |
"gotest.tools/icmd" |
| ... | ... |
@@ -28,7 +28,6 @@ import ( |
| 28 | 28 |
"github.com/docker/libnetwork/ipamapi" |
| 29 | 29 |
remoteipam "github.com/docker/libnetwork/ipams/remote/api" |
| 30 | 30 |
"github.com/docker/swarmkit/ca/keyutils" |
| 31 |
- "github.com/go-check/check" |
|
| 32 | 31 |
"github.com/vishvananda/netlink" |
| 33 | 32 |
"gotest.tools/assert" |
| 34 | 33 |
"gotest.tools/fs" |
| ... | ... |
@@ -1,6 +1,7 @@ |
| 1 | 1 |
package main |
| 2 | 2 |
|
| 3 | 3 |
import ( |
| 4 |
+ "fmt" |
|
| 4 | 5 |
"os/exec" |
| 5 | 6 |
"runtime" |
| 6 | 7 |
"strings" |
| ... | ... |
@@ -8,7 +9,6 @@ import ( |
| 8 | 8 |
|
| 9 | 9 |
"github.com/docker/docker/integration-cli/daemon" |
| 10 | 10 |
testdaemon "github.com/docker/docker/internal/test/daemon" |
| 11 |
- "github.com/go-check/check" |
|
| 12 | 11 |
"gotest.tools/assert" |
| 13 | 12 |
) |
| 14 | 13 |
|