mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-02-21 14:43:32 +00:00
Merge pull request #135716 from p0lyn0mial/automated-cherry-pick-of-#135591-upstream-release-1.34
Automated cherry pick of #135591: downgrade reflector watchlist fallback log to V(4)
This commit is contained in:
@@ -419,7 +419,10 @@ func (r *Reflector) ListAndWatchWithContext(ctx context.Context) error {
|
||||
return nil
|
||||
}
|
||||
if err != nil {
|
||||
logger.Error(err, "The watchlist request ended with an error, falling back to the standard LIST/WATCH semantics because making progress is better than deadlocking")
|
||||
logger.V(4).Info(
|
||||
"Data couldn't be fetched in watchlist mode. Falling back to regular list. This is expected if watchlist is not supported or disabled in kube-apiserver.",
|
||||
"err", err,
|
||||
)
|
||||
fallbackToList = true
|
||||
// ensure that we won't accidentally pass some garbage down the watch.
|
||||
w = nil
|
||||
|
||||
Reference in New Issue
Block a user