Skip to content

Commit bab7c86

Browse files
jotakOlivierCazade
andauthored
Apply suggestion from @OlivierCazade
Co-authored-by: Olivier Cazade <[email protected]>
1 parent e16d319 commit bab7c86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/controller/flp/flp_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ func (r *Reconciler) getOpenShiftSubnets(ctx context.Context) ([]flowslatest.Sub
268268

269269
// Additional OVN subnets
270270
networkOp := &operatorv1.Network{}
271-
err = r.Get(ctx, types.NamespacedName{Name: "cluster"}, network)
271+
err = r.Get(ctx, types.NamespacedName{Name: "cluster"}, networkOp)
272272
if err != nil {
273273
return nil, fmt.Errorf("can't get Network (operator) information: %w", err)
274274
}

0 commit comments

Comments
 (0)