Chroe: some misc cleanup (#23203)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
Yongtao Huang 2025-07-31 15:33:39 +08:00 committed by GitHub
commit a434f6240f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 21 deletions

View file

@ -322,7 +322,7 @@ class OpsTraceManager:
:return:
"""
# auth check
if enabled == True:
if enabled:
try:
provider_config_map[tracing_provider]
except KeyError: