fix_trace_config (#24669)

Co-authored-by: renming <renming@renmingdeMacBook-Air.local>
This commit is contained in:
mr0609
2025-08-28 13:54:49 +08:00
committed by GitHub
parent 8c7c357b4e
commit 2605bed2d9
+1 -1
View File
@@ -330,7 +330,7 @@ class OpsTraceManager:
except KeyError:
raise ValueError(f"Invalid tracing provider: {tracing_provider}")
else:
if tracing_provider is not None:
if tracing_provider is None:
raise ValueError(f"Invalid tracing provider: {tracing_provider}")
app_config: Optional[App] = db.session.query(App).where(App.id == app_id).first()