diff --git a/cli/compose/convert/service_test.go b/cli/compose/convert/service_test.go index 87f5327ffe..85550628f2 100644 --- a/cli/compose/convert/service_test.go +++ b/cli/compose/convert/service_test.go @@ -270,7 +270,7 @@ func TestConvertServiceNetworksCustomDefault(t *testing.T) { } assert.NilError(t, err) - assert.Check(t, is.DeepEqual(expected, []swarm.NetworkAttachmentConfig(configs))) + assert.Check(t, is.DeepEqual(expected, configs)) } func TestConvertDNSConfigEmpty(t *testing.T) {