Skip to content

Commit

Permalink
fix .status.default when initializing the default vpc (#3086)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzujian authored Jul 28, 2023
1 parent fa91428 commit 4c1161e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -774,14 +774,14 @@ func (c *Controller) Run(ctx context.Context) {
util.LogFatalAndExit(err, "failed to set NB_Global option use_ct_inv_match to false")
}

if err := c.InitDefaultVpc(); err != nil {
util.LogFatalAndExit(err, "failed to initialize default vpc")
}

if err := c.InitOVN(); err != nil {
util.LogFatalAndExit(err, "failed to initialize ovn resources")
}

if err := c.InitDefaultVpc(); err != nil {
util.LogFatalAndExit(err, "failed to initialize default vpc")
}

if err := c.initNodeChassis(); err != nil {
util.LogFatalAndExit(err, "failed to initialize node chassis")
}
Expand Down

0 comments on commit 4c1161e

Please sign in to comment.