Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
Signed-off-by: bobz965 <[email protected]>
  • Loading branch information
zbb88888 committed Feb 21, 2024
1 parent 0eca810 commit ff70ccb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/controller/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -830,6 +830,7 @@ func (c *Controller) initNodeChassis() error {

func (c *Controller) syncFinalizers() error {
// migrate depreciated finalizer to new finalizer
klog.Info("start to sync finalizers")
if err := c.syncIPFinalizer(); err != nil {
klog.Errorf("failed to sync ip finalizer: %v", err)
return err
Expand Down Expand Up @@ -878,5 +879,6 @@ func (c *Controller) syncFinalizers() error {
klog.Errorf("failed to sync iptables snat finalizer: %v", err)
return err
}
klog.Info("sync finalizers done")
return nil
}

0 comments on commit ff70ccb

Please sign in to comment.