This is an automated email from the ASF dual-hosted git repository. alinsran pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git
The following commit(s) were added to refs/heads/master by this push: new 7e0be1e6 fix: config not provided should not be retried (#2454) 7e0be1e6 is described below commit 7e0be1e60b1af4be56a727992f1c71e36777491f Author: AlinsRan <alins...@apache.org> AuthorDate: Sat Jul 5 09:10:12 2025 +0800 fix: config not provided should not be retried (#2454) --- internal/provider/adc/adc.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/provider/adc/adc.go b/internal/provider/adc/adc.go index e8c44694..0ab02d44 100644 --- a/internal/provider/adc/adc.go +++ b/internal/provider/adc/adc.go @@ -351,8 +351,8 @@ func (d *adcClient) sync(ctx context.Context, task Task) error { log.Debugw("syncing resources", zap.Any("task", task)) if len(task.configs) == 0 { - log.Errorw("no adc configs provided", zap.Any("task", task)) - return errors.New("no adc configs provided") + log.Warnw("no adc configs provided", zap.Any("task", task)) + return nil } syncFilePath, cleanup, err := prepareSyncFile(task.Resources)