Skip to content

Commit 88142f3

Browse files
gabrnavarrowikkyk
authored andcommitted
fix: Replace ctrl.Result{Requeue} with RequeueAfter
fixes #652
1 parent 00e18a7 commit 88142f3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

internal/controller/proxmoxcluster_controller.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ package controller
2020
import (
2121
"context"
2222
"fmt"
23+
"time"
2324

2425
"github.com/pkg/errors"
2526
corev1 "k8s.io/api/core/v1"
@@ -201,7 +202,7 @@ func (r *ProxmoxClusterReconciler) reconcileNormal(ctx context.Context, clusterS
201202
Message: "The ProxmoxCluster is missing or waiting for a ControlPlaneEndpoint",
202203
})
203204

204-
return ctrl.Result{Requeue: true}, nil
205+
return ctrl.Result{RequeueAfter: 200 * time.Millisecond}, nil
205206
}
206207
}
207208

0 commit comments

Comments
 (0)