refactor: replace logger.warn which is deprecated with logger.warning

PiperOrigin-RevId: 760311574
This commit is contained in:
Xiang (Sean) Zhou 2025-05-18 10:24:55 -07:00 committed by Copybara-Service
parent e278ca9541
commit 2ad1f79422

View File

@ -280,7 +280,7 @@ def get_fast_api_app(
# If any tasks are still pending, log it
if pending:
logger.warn(
logger.warning(
f"{len(pending)} toolset cleanup tasks didn't complete in time"
)
for task in pending: