Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzujian committed Jun 3, 2023
1 parent c2609fe commit ded7cb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/subnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -2053,7 +2053,7 @@ func checkAndFormatsExcludeIps(subnet *kubeovnv1.Subnet) bool {
newMap := filterRepeatIPRange(mapIps)
for _, v := range newMap {
if v.Start().Equal(v.End()) {
excludeIps = append(excludeIps, string(v.Start()))
excludeIps = append(excludeIps, v.Start().String())
} else {
excludeIps = append(excludeIps, v.Start().String()+".."+v.End().String())
}
Expand Down

0 comments on commit ded7cb4

Please sign in to comment.