Compare commits
1 Commits
c88189fe59
...
1723025fbf
Author | SHA1 | Date | |
---|---|---|---|
1723025fbf |
@ -4,7 +4,6 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
composetypes "github.com/docker/cli/cli/compose/types"
|
composetypes "github.com/docker/cli/cli/compose/types"
|
||||||
containertypes "github.com/docker/docker/api/types/container"
|
|
||||||
"github.com/docker/docker/api/types/network"
|
"github.com/docker/docker/api/types/network"
|
||||||
"gotest.tools/v3/assert"
|
"gotest.tools/v3/assert"
|
||||||
is "gotest.tools/v3/assert/cmp"
|
is "gotest.tools/v3/assert/cmp"
|
||||||
@ -67,7 +66,7 @@ func TestNetworks(t *testing.T) {
|
|||||||
Name: "othername",
|
Name: "othername",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
expected := map[string]containertypes.CreateOptions{
|
expected := map[string]network.CreateOptions{
|
||||||
"foo_default": {
|
"foo_default": {
|
||||||
Labels: map[string]string{
|
Labels: map[string]string{
|
||||||
LabelNamespace: "foo",
|
LabelNamespace: "foo",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user