Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
romilbhardwaj committed Jun 29, 2024
1 parent 7b2fba4 commit 4d25509
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sky/adaptors/kubernetes.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,16 @@ def _api_logging_decorator(logger: str, level: int):
This is used to suppress the verbose logging from urllib3 when calls to the
Kubernetes API timeout.
"""

def decorated_api(api):

def wrapped(*args, **kwargs):
obj = api(*args, **kwargs)
_decorate_methods(obj, set_logging_level(logger, level))
return obj

return wrapped

return decorated_api


Expand Down

0 comments on commit 4d25509

Please sign in to comment.