Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaelvll committed Aug 21, 2024
1 parent 8c7908e commit 7eb24c2
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 @@ -326,7 +326,8 @@ def _create_node_tag(target_instance, is_head: bool = True) -> str:
})
# Remove AWS internal tags, as they are not allowed to be set by users.
target_instance_tags = [
tag for tag in target_instance.tags if not tag['Key'].startswith('aws:')
tag for tag in target_instance.tags
if not tag['Key'].startswith('aws:')
]
ec2.meta.client.create_tags(
Resources=[target_instance.id],
Expand Down

0 comments on commit 7eb24c2

Please sign in to comment.