fix_trace_config (#24669)
Co-authored-by: renming <renming@renmingdeMacBook-Air.local>
This commit is contained in:
parent
0d745c64d8
commit
30f2d756a7
1 changed files with 1 additions and 1 deletions
|
|
@ -330,7 +330,7 @@ class OpsTraceManager:
|
||||||
except KeyError:
|
except KeyError:
|
||||||
raise ValueError(f"Invalid tracing provider: {tracing_provider}")
|
raise ValueError(f"Invalid tracing provider: {tracing_provider}")
|
||||||
else:
|
else:
|
||||||
if tracing_provider is not None:
|
if tracing_provider is None:
|
||||||
raise ValueError(f"Invalid tracing provider: {tracing_provider}")
|
raise ValueError(f"Invalid tracing provider: {tracing_provider}")
|
||||||
|
|
||||||
app_config: Optional[App] = db.session.query(App).where(App.id == app_id).first()
|
app_config: Optional[App] = db.session.query(App).where(App.id == app_id).first()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue