Skip to content

Commit 8176411

Browse files
fix test failure
1 parent fe5e047 commit 8176411

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

azure-ipam/ipam_test.go

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,7 @@ func (c *MockCNSClient) RequestIPs(ctx context.Context, ipconfig cns.IPConfigsRe
159159
IPAddress: "fd11:1234::",
160160
PrefixLength: 120,
161161
},
162-
DNSServers: nil,
163-
GatewayIPv6Address: "fe80::1", // This value will be ignored - code uses defaultV6Gateway constant instead
162+
DNSServers: nil,
164163
},
165164
HostPrimaryIPInfo: cns.HostIPInfo{
166165
Gateway: "fe80::1234:5678:9abc",
@@ -207,8 +206,7 @@ func (c *MockCNSClient) RequestIPs(ctx context.Context, ipconfig cns.IPConfigsRe
207206
IPAddress: "fd11:1234::",
208207
PrefixLength: 112,
209208
},
210-
DNSServers: nil,
211-
GatewayIPv6Address: "fe80::1234:5678:9abc",
209+
DNSServers: nil,
212210
},
213211
HostPrimaryIPInfo: cns.HostIPInfo{
214212
Gateway: "fe80::1234:5678:9abc",
@@ -257,8 +255,7 @@ func (c *MockCNSClient) RequestIPs(ctx context.Context, ipconfig cns.IPConfigsRe
257255
IPAddress: "fd11:1234::",
258256
PrefixLength: 120,
259257
},
260-
DNSServers: nil,
261-
GatewayIPv6Address: "fe80::1234:5678:9abc",
258+
DNSServers: nil,
262259
},
263260
HostPrimaryIPInfo: cns.HostIPInfo{
264261
Gateway: "fe80::1234:5678:9abc",

0 commit comments

Comments
 (0)