Skip to content

Commit

Permalink
fix golangci-lint issue
Browse files Browse the repository at this point in the history
Signed-off-by: Nitin Goyal <nigoyal@redhat.com>
  • Loading branch information
iamniting committed Aug 29, 2024
1 parent 3f9d37a commit d5fe25e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ func (r *OCSInitializationReconciler) reconcilePrometheus(initialData *ocsv1.OCS
if alertManagerEndpoint == nil {
return fmt.Errorf("unable to find AlertManagerEndpoint")
}
alertManagerEndpoint.Namespace = initialData.Namespace
alertManagerEndpoint.Namespace = &initialData.Namespace
return nil
})

Expand Down

0 comments on commit d5fe25e

Please sign in to comment.