Skip to content

Commit

Permalink
Merge pull request #166 from Miciah/computeOperatorDegradedCondition-…
Browse files Browse the repository at this point in the history
…fix-NoDNS-check

Bug 1835725: computeOperatorDegradedCondition: Fix "NoDNS" check
  • Loading branch information
openshift-merge-robot authored May 26, 2020
2 parents 66e4f14 + 28196fa commit 6d55c9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/operator/controller/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ func computeOperatorDegradedCondition(oldCondition *configv1.ClusterOperatorStat
degradedCondition.Status = configv1.ConditionTrue
degradedCondition.Reason = "NoNamespace"
degradedCondition.Message = "Operand Namespace does not exist"
case dnses.available == 0:
case dnses.total == 0:
degradedCondition.Status = configv1.ConditionTrue
degradedCondition.Reason = "NoDNS"
degradedCondition.Message = "No DNS resource exists"
Expand Down

0 comments on commit 6d55c9f

Please sign in to comment.