Fix the ratio task bug (#194)

* fix: add feign client configurations

* fix: add nacos configurations

* fix: add python to gateway

* fix: Fix the ratio task bug
This commit is contained in:
hefanli
2025-12-24 11:40:26 +08:00
committed by GitHub
parent 6d61348388
commit 215d7f0612
5 changed files with 33 additions and 18 deletions

View File

@@ -294,7 +294,7 @@ class RatioTaskService:
for tag in all_tags:
if conditions.label.label and tag.get("label") != conditions.label.label:
continue
if conditions.label.value is not None:
if conditions.label.value is None:
return True
if tag.get("value") == conditions.label.value:
return True