Skip to content

Commit

Permalink
incusd/network: Replace LogicalRouterAdd usage with CreateLogicalRouter
Browse files Browse the repository at this point in the history
Signed-off-by: dhruvvnistala <dhruv.nistala@utexas.edu>
  • Loading branch information
dhruvvnistala authored and stgraber committed Apr 18, 2024
1 parent a0afa7e commit ec288a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/server/network/driver_ovn.go
Original file line number Diff line number Diff line change
Expand Up @@ -2071,7 +2071,7 @@ func (n *ovn) setup(update bool) error {
}

// Create logical router.
err = n.state.OVNNB.LogicalRouterAdd(n.getRouterName(), update)
err = n.state.OVNNB.CreateLogicalRouter(context.TODO(), n.getRouterName(), update)
if err != nil {
return fmt.Errorf("Failed adding router: %w", err)
}
Expand Down

0 comments on commit ec288a6

Please sign in to comment.