This commit is contained in:
Aman Kumar 2026-01-26 17:08:10 +00:00 committed by GitHub
commit 24e2892b04
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -152,7 +152,14 @@ func reconciliationHandled(kubeClient client.Client, namespacedName types.Namesp
return false, err
}
return result.Status == kstatus.CurrentStatus, nil
switch result.Status {
case kstatus.CurrentStatus:
return true, nil
case kstatus.InProgressStatus:
return false, nil
default:
return false, fmt.Errorf("%s", result.Message)
}
}
}