Skip to content

Commit

Permalink
feat(controllers) Remove reconciliation intervsl (#777)
Browse files Browse the repository at this point in the history
  • Loading branch information
gciezkowski-acc committed Jan 17, 2025
1 parent 1db7165 commit 359256d
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions pkg/controllers/propagation_reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ package controllers
import (
"context"
"fmt"

Check failure on line 8 in pkg/controllers/propagation_reconciler.go

View workflow job for this annotation

GitHub Actions / lint

File is not properly formatted (goimports)
"time"

corev1 "k8s.io/api/core/v1"
apiextensionsv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
apierrors "k8s.io/apimachinery/pkg/api/errors"
Expand All @@ -25,10 +23,6 @@ import (
"github.com/cloudoperators/greenhouse/pkg/clientutil"
)

const (
DefaultRequeueInterval = 10 * time.Minute
)

// PropagationReconciler implements the basic functionality every resource propagation reconciler needs.
type PropagationReconciler struct {
client.Client
Expand Down Expand Up @@ -103,7 +97,7 @@ func (r *PropagationReconciler) Reconcile(ctx context.Context, req ctrl.Request)
return ctrl.Result{}, err
}

return ctrl.Result{RequeueAfter: DefaultRequeueInterval}, nil
return ctrl.Result{}, nil
}

func (r *PropagationReconciler) reconcileObject(ctx context.Context, restClient client.Client, obj client.Object, clusterName string) error {
Expand Down

0 comments on commit 359256d

Please sign in to comment.