File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -954,19 +954,10 @@ func (r *CeilometerReconciler) reconcileKSM(
954954 Log := r .GetLogger (ctx )
955955 Log .Info (fmt .Sprintf (msgReconcileStart , availability .KSMServiceName ))
956956
957- if instance .Spec .KSMEnabled == nil || ! * instance .Spec .KSMEnabled {
957+ if instance .Spec .KSMEnabled == nil || ! * instance .Spec .KSMEnabled || instance . Spec . KSMImage == "" {
958958 return r .reconcileDeleteKSM (ctx , instance , helper )
959959 }
960960
961- if instance .Spec .KSMImage == "" {
962- instance .Status .Conditions .Set (condition .FalseCondition (
963- telemetryv1 .KSMDeploymentReadyCondition ,
964- condition .ErrorReason ,
965- condition .SeverityError ,
966- "ksmImage container image isn't set" ))
967- return ctrl.Result {}, nil
968- }
969-
970961 // ConfigMap
971962 configMapVars := make (map [string ]env.Setter )
972963
You can’t perform that action at this time.
0 commit comments