fix: fix logic (#37812)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
wangxiaolei
2026-06-23 10:11:52 +00:00
committed by GitHub
co-authored by autofix-ci[bot]
parent d1a3f31f15
commit be3677f145
+2 -2
View File
@@ -185,8 +185,8 @@ class EnterpriseRequest(BaseRequest):
if (
not cls.rbac_base_url.startswith("http")
or not cls.rbac_base_url.startswith("https")
or not cls.rbac_base_url
and not cls.rbac_base_url.startswith("https")
and not cls.rbac_base_url
):
raise ValueError("ENTERPRISE_RBAC_API_URL is required when RBAC_ENABLED=true")