Skip to content

Commit

Permalink
windows Remove Parameter
Browse files Browse the repository at this point in the history
Signed-off-by: liyh <[email protected]>
  • Loading branch information
liyh-yusur committed Sep 10, 2024
1 parent 4076da6 commit db59083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/daemon/ovs_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ func (csh cniServerHandler) removeDefaultRoute(netns string, ipv4, ipv6 bool) er
return nil
}

func (csh cniServerHandler) deleteNic(podName, podNamespace, containerID, netns, deviceID, ifName, nicType, _ string) error {
func (csh cniServerHandler) deleteNic(podName, podNamespace, containerID, netns, deviceID, ifName, nicType string) error {
epName := hns.ConstructEndpointName(containerID, netns, util.HnsNetwork)[:12]
// remove ovs port
output, err := ovs.Exec(ovs.IfExists, "--with-iface", "del-port", "br-int", epName)
Expand Down

0 comments on commit db59083

Please sign in to comment.