We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46db497 commit dc95ba5Copy full SHA for dc95ba5
pkg/epp/controller/pod_reconciler.go
@@ -43,9 +43,8 @@ type PodReconciler struct {
43
44
func (c *PodReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
45
logger := log.FromContext(ctx)
46
- _, err := c.Datastore.PoolGet()
47
- if err != nil {
48
- logger.V(logutil.TRACE).Info("Skipping reconciling Pod because the InferencePool is not available yet", "error", err)
+ if !c.Datastore.PoolHasSynced() {
+ logger.V(logutil.TRACE).Info("Skipping reconciling Pod because the InferencePool is not available yet")
49
// When the inferencePool is initialized it lists the appropriate pods and populates the datastore, so no need to requeue.
50
return ctrl.Result{}, nil
51
}
0 commit comments