Skip to content

Commit

Permalink
Merge pull request #1680 from kube-logging/fix-requeue-wait
Browse files Browse the repository at this point in the history
fix: remove requeue after
  • Loading branch information
pepov authored Feb 28, 2024
2 parents 7f1e67b + 7fe3a82 commit 6c61f81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions pkg/resources/fluentd/fluentd.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ package fluentd
import (
"context"
"fmt"
"time"

"emperror.dev/errors"
"github.com/cisco-open/operator-tools/pkg/reconciler"
Expand Down Expand Up @@ -203,7 +202,7 @@ func (r *Reconciler) Reconcile(ctx context.Context) (*reconcile.Result, error) {
} else {
r.Log.Info("still waiting for the configcheck result...")
}
return &reconcile.Result{RequeueAfter: time.Minute}, nil
return &reconcile.Result{Requeue: true}, nil
}
}
}
Expand Down
3 changes: 1 addition & 2 deletions pkg/resources/syslogng/syslogng.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ package syslogng

import (
"context"
"time"

"emperror.dev/errors"
"github.com/cisco-open/operator-tools/pkg/reconciler"
Expand Down Expand Up @@ -184,7 +183,7 @@ func (r *Reconciler) Reconcile(ctx context.Context) (*reconcile.Result, error) {
} else {
r.Log.Info("still waiting for the configcheck result...")
}
return &reconcile.Result{RequeueAfter: time.Minute}, nil
return &reconcile.Result{Requeue: true}, nil
}
}
}
Expand Down

0 comments on commit 6c61f81

Please sign in to comment.