This is an automated email from the ASF dual-hosted git repository. alinsran pushed a commit to branch v2.0.0 in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git
commit 4f22fb6a4cf195a77cfd488603bf2929d3f24f44 Author: AlinsRan <[email protected]> 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)
