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 authored and bobz965 committed May 20, 2024
1 parent 7d30939 commit a6d33ef
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 @@ -511,7 +511,7 @@ func (c *Controller) initDefaultProviderNetwork() error {
}

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

Expand Down

0 comments on commit a6d33ef

Please sign in to comment.