mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Merge pull request #51201 from thaJeztah/fix_backfil
daemon/server/router/container: fix back-filling of top-level network fields
This commit is contained in:
@@ -274,8 +274,7 @@ func TestMacAddressIsAppliedToMainNetworkWithShortID(t *testing.T) {
|
||||
d.StartWithBusybox(ctx, t)
|
||||
defer d.Stop(t)
|
||||
|
||||
apiClient, err := client.NewClientWithOpts(client.FromEnv, client.WithVersion("1.43"))
|
||||
assert.NilError(t, err)
|
||||
apiClient := d.NewClientT(t, client.WithVersion("1.43"))
|
||||
|
||||
n := net.CreateNoError(ctx, t, apiClient, "testnet", net.WithIPAM("192.168.101.0/24", "192.168.101.1"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user