comment out
Some checks failed
Lint / Run on Ubuntu (push) Failing after 1m6s
Tests / Run on Ubuntu (push) Successful in 2m0s
Build images / Build docker image (push) Successful in 3m29s

This commit is contained in:
Chris Richardson
2025-07-07 20:22:40 -04:00
parent c72cf8c33d
commit 729666647c

View File

@@ -61,6 +61,12 @@ func (r *LocustClusterReconciler) Reconcile(ctx context.Context, req ctrl.Reques
// locustCluster, err := GetLocustCluster(r.Client, ctx, req.Namespace, req.Name)
_, err := GetLocustCluster(r.Client, ctx, req.Namespace, req.Name)
if err != nil {
if apierrors.IsForbidden(err) {
r.Log.Info("Forbidden")
}
if apierrors.IsUnauthorized(err) {
r.Log.Info("Unathed")
}
if apierrors.IsNotFound(err) {
r.Log.Info("LocustCluster not found")
// logf.Log.Info("LocustCluster not found", "LocustClusterName", req.Name,