comment out
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user