Skip to content

Commit e1edebe

Browse files
committed
address linter issues
1 parent 03efe8e commit e1edebe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

network/endpoint_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ func (nw *network) newEndpointImpl(
150150
_ EndpointClient,
151151
_ NamespaceClientInterface,
152152
_ ipTablesClient,
153-
dhcpc dhcpClient,
153+
_ dhcpClient,
154154
epInfo *EndpointInfo,
155155
) (*endpoint, error) {
156156
if epInfo.NICType == cns.BackendNIC {

network/network_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ func (nm *networkManager) newNetworkImplHnsV2(nwInfo *EndpointInfo, extIf *exter
435435
return nw, nil
436436
}
437437

438-
func (nw *networkManager) sendDHCPDiscoverOnSecondary(client dhcpClient, mac net.HardwareAddr, ifName string) error {
438+
func (nm *networkManager) sendDHCPDiscoverOnSecondary(client dhcpClient, mac net.HardwareAddr, ifName string) error {
439439
// issue dhcp discover packet to ensure mapping created for dns via wireserver to work
440440
// we do not use the response for anything
441441
numSecs := 15 // we need to wait for the address to be assigned

0 commit comments

Comments
 (0)