We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0ad119b + 4a429cf commit 115d07eCopy full SHA for 115d07e
pkg/operator/status.go
@@ -176,7 +176,7 @@ func (c *ImagePrunerController) syncPrunerStatus(cr *imageregistryv1.ImagePruner
176
updatePrunerCondition(cr, "Failed", prunerLastJobStatus)
177
}
178
179
- if *cr.Spec.Suspend {
+ if cr.Spec.Suspend != nil && *cr.Spec.Suspend {
180
prunerJobScheduled := operatorapiv1.OperatorCondition{
181
Status: operatorapiv1.ConditionFalse,
182
Message: "The pruner job has been suspended",
0 commit comments