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:
Sebastiaan van Stijn
2025-10-16 16:41:08 +02:00
committed by GitHub
2 changed files with 20 additions and 18 deletions

View File

@@ -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"))