Skip to content

Commit

Permalink
Update pkg/ipam/ipam.go
Browse files Browse the repository at this point in the history
Co-authored-by: 张祖建 <[email protected]>
  • Loading branch information
bobz965 and zhangzujian committed Jul 24, 2024
1 parent 83af676 commit d20de73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ipam/ipam.go
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ func (ipam *IPAM) IsIPAssignedToOtherPod(ip, subnetName, podName string) (string

subnet, ok := ipam.Subnets[subnetName]
if !ok {
klog.Warningf("failed to get subnet %s", subnetName)
klog.Warningf("subnet %q not found", subnetName)
return "", false
}
return subnet.isIPAssignedToOtherPod(ip, podName)
Expand Down

0 comments on commit d20de73

Please sign in to comment.