Skip to content

Commit

Permalink
fix: vip ipam not recover all (#2071)
Browse files Browse the repository at this point in the history
Co-authored-by: zhangbingbing <zhangbingbing@yealink.com>
  • Loading branch information
bobz965 and zhangbingbing committed Nov 23, 2022
1 parent 514b766 commit 8aa724e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/init.go
Expand Up @@ -392,7 +392,7 @@ func (c *Controller) InitIPAM() error {
}
}

vips, err := c.virtualIpsLister.List(labels.SelectorFromSet(labels.Set{util.IpReservedLabel: ""}))
vips, err := c.virtualIpsLister.List(labels.Everything())
if err != nil {
klog.Errorf("failed to list VIPs: %v", err)
return err
Expand Down

0 comments on commit 8aa724e

Please sign in to comment.