Remove effectless statement
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
This commit is contained in:
parent
4de0503b63
commit
ee0c3bcec2
|
@ -1022,7 +1022,6 @@ func (r *KustomizationReconciler) event(obj *kustomizev1.Kustomization,
|
|||
}
|
||||
|
||||
reason := severity
|
||||
conditions.GetReason(obj, meta.ReadyCondition)
|
||||
if r := conditions.GetReason(obj, meta.ReadyCondition); r != "" {
|
||||
reason = r
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue