Skip to content

Commit

Permalink
fix node annotations not updated when initializing the default provid…
Browse files Browse the repository at this point in the history
…er-network (#4030)

Signed-off-by: zhangzujian <zhangzujian.7@gmail.com>
  • Loading branch information
zhangzujian committed May 16, 2024
1 parent 4de2e09 commit 85009d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ func (c *Controller) initDefaultProviderNetwork() error {
}

defer func() {
if err == nil {
if err != nil {
return
}

Expand Down

0 comments on commit 85009d5

Please sign in to comment.