From d45c852da25f24b3676f0c6d111fbf57cc18bc80 Mon Sep 17 00:00:00 2001 From: Sorawis Nilparuk Date: Tue, 13 Aug 2024 20:11:11 +0000 Subject: [PATCH] backport of commit 81d47e08199bb4aabcc5206b4bd3f55f61034ac8 --- internal/cmd/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cmd/config/config.go b/internal/cmd/config/config.go index 6b9b4babc4..7061b7e566 100644 --- a/internal/cmd/config/config.go +++ b/internal/cmd/config/config.go @@ -672,7 +672,7 @@ func Parse(d string) (*Config, error) { } result.Controller.GetDownstreamWorkersTimeoutDuration = t } - if result.Controller.GetDownstreamWorkersTimeoutDuration <= 0 { + if result.Controller.GetDownstreamWorkersTimeoutDuration < 0 { return nil, errors.New("get downstream workers timeout must be greater than 0") }