Remove effectless statement

Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
This commit is contained in:
Matheus Pimenta 2024-02-21 16:02:51 +00:00
parent 4de0503b63
commit ee0c3bcec2
1 changed files with 0 additions and 1 deletions

View File

@ -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
}