Skip to content

Commit

Permalink
fix(smm): uses namespace name when fetching SMM while reconciling (#40)
Browse files Browse the repository at this point in the history
Previously it wrongly used ns.Namespace which is blank leading to errors
  • Loading branch information
bartoszmajsak authored Jul 28, 2023
1 parent 1cd814f commit a74eeee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/enable_mesh.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func (r *OpenshiftServiceMeshReconciler) reconcileMeshMember(ctx context.Context
err := retry.RetryOnConflict(retry.DefaultRetry, func() error {
if err := r.Get(ctx, types.NamespacedName{
Name: desiredMeshMember.Name,
Namespace: ns.Namespace,
Namespace: ns.Name,
}, foundMember); err != nil {
return err
}
Expand Down

0 comments on commit a74eeee

Please sign in to comment.