Skip to content

Commit

Permalink
rectify client
Browse files Browse the repository at this point in the history
Signed-off-by: Mridul Gain <[email protected]>
  • Loading branch information
mridulgain committed Jul 8, 2024
1 parent 8b4db57 commit e5aa6f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/hub/controllers/serviceimport_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func (r *ServiceImportReconciler) Reconcile(ctx context.Context, req reconcile.R
Name: vpcAccessNamespaceName,
},
}
if err := r.Create(ctx, namespace); err != nil {
if err := r.MeshClient.Create(ctx, namespace); err != nil {
log.Error(err, "Failed to create vpc access namespace", "namespace", vpcAccessNamespaceName)
return reconcile.Result{}, err
}
Expand Down

0 comments on commit e5aa6f2

Please sign in to comment.