Skip to content

Commit

Permalink
[UX] Make retry clean up security group silent (#2728)
Browse files Browse the repository at this point in the history
* make it silent

* lint
  • Loading branch information
cblmemo authored Oct 23, 2023
1 parent 06025f3 commit 16e913a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sky/provision/aws/instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,8 @@ def cleanup_ports(
sg.delete()
except aws.botocore_exceptions().ClientError as e:
if _DEPENDENCY_VIOLATION_PATTERN.findall(str(e)):
logger.info(f'Security group {sg_name} is still in use. Retry.')
logger.debug(
f'Security group {sg_name} is still in use. Retry.')
time.sleep(backoff.current_backoff())
continue
raise
Expand Down

0 comments on commit 16e913a

Please sign in to comment.