Skip to content

Commit

Permalink
server/network/driver_obv.go: replaced LogicalRouterAdd usage with Cr…
Browse files Browse the repository at this point in the history
…eateLogicalRouter

Signed-off-by: dhruvvnistala <dhruv.nistala@utexas.edu>
  • Loading branch information
dhruvvnistala committed Apr 18, 2024
1 parent 93adf4f commit 67f1654
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)

Check failure on line 2074 in internal/server/network/driver_ovn.go

View workflow job for this annotation

GitHub Actions / Code

undefined: Context

Check failure on line 2074 in internal/server/network/driver_ovn.go

View workflow job for this annotation

GitHub Actions / System (1.21.x, cluster, dir)

undefined: Context

Check failure on line 2074 in internal/server/network/driver_ovn.go

View workflow job for this annotation

GitHub Actions / System (1.21.x, cluster, btrfs)

undefined: Context

Check failure on line 2074 in internal/server/network/driver_ovn.go

View workflow job for this annotation

GitHub Actions / System (1.21.x, cluster, lvm)

undefined: Context

Check failure on line 2074 in internal/server/network/driver_ovn.go

View workflow job for this annotation

GitHub Actions / System (1.21.x, cluster, zfs)

undefined: Context

Check failure on line 2074 in internal/server/network/driver_ovn.go

View workflow job for this annotation

GitHub Actions / System (1.21.x, cluster, ceph)

undefined: Context

Check failure on line 2074 in internal/server/network/driver_ovn.go

View workflow job for this annotation

GitHub Actions / System (1.21.x, cluster, random)

undefined: Context

Check failure on line 2074 in internal/server/network/driver_ovn.go

View workflow job for this annotation

GitHub Actions / System (1.21.x, standalone, dir)

undefined: Context

Check failure on line 2074 in internal/server/network/driver_ovn.go

View workflow job for this annotation

GitHub Actions / System (1.21.x, standalone, btrfs)

undefined: Context

Check failure on line 2074 in internal/server/network/driver_ovn.go

View workflow job for this annotation

GitHub Actions / System (1.21.x, standalone, lvm)

undefined: Context

Check failure on line 2074 in internal/server/network/driver_ovn.go

View workflow job for this annotation

GitHub Actions / System (1.21.x, standalone, zfs)

undefined: Context

Check failure on line 2074 in internal/server/network/driver_ovn.go

View workflow job for this annotation

GitHub Actions / System (1.21.x, standalone, ceph)

undefined: Context

Check failure on line 2074 in internal/server/network/driver_ovn.go

View workflow job for this annotation

GitHub Actions / System (1.21.x, standalone, random)

undefined: Context

Check failure on line 2074 in internal/server/network/driver_ovn.go

View workflow job for this annotation

GitHub Actions / System (stable, cluster, dir)

undefined: Context

Check failure on line 2074 in internal/server/network/driver_ovn.go

View workflow job for this annotation

GitHub Actions / System (stable, standalone, dir)

undefined: Context
if err != nil {
return fmt.Errorf("Failed adding router: %w", err)
}
Expand Down

0 comments on commit 67f1654

Please sign in to comment.