Skip to content

Commit

Permalink
Merge pull request #138 from IBM/ocp-monitoring-fix
Browse files Browse the repository at this point in the history
grafana-operator fails to comeup when enableUserWorkload has null
  • Loading branch information
Tirumalavasa authored Oct 5, 2021
2 parents 14125a9 + f8af0dd commit 0f9c14c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/controller/grafana/grafana_reconcile.go
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,9 @@ func doCheckApplicationMonitoring(r *ReconcileGrafana) (bool, error) {
return false, nil

}
if enabled == nil {
return false, nil
}
if enabled.(bool) {
return true, nil
}
Expand Down

0 comments on commit 0f9c14c

Please sign in to comment.