Skip to content

Commit

Permalink
Set PrometheusContext.Default = true
Browse files Browse the repository at this point in the history
Signed-off-by: Rokibul Hasan <[email protected]>
  • Loading branch information
RokibulHasan7 committed Nov 14, 2024
1 parent 93af210 commit b57f963
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/controllers/namespace/namespace_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func (r *ClientOrgReconciler) Reconcile(ctx context.Context, req ctrl.Request) (
err := r.bc.Unregister(mona.PrometheusContext{
ClusterUID: r.clusterUID,
ProjectId: "",
Default: false,
Default: true,
ClientOrgID: clientOrgId,
})
if err != nil {
Expand Down Expand Up @@ -232,7 +232,7 @@ func (r *ClientOrgReconciler) Reconcile(ctx context.Context, req ctrl.Request) (
HubUID: r.hubUID,
ClusterUID: r.clusterUID,
ProjectId: "",
Default: false,
Default: true,
ClientOrgID: clientOrgId,
}, pcfg)
if err != nil {
Expand Down

0 comments on commit b57f963

Please sign in to comment.