Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
kbrgl committed Feb 7, 2024
1 parent e0474e8 commit e125c05
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sky/authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ def setup_kubernetes_authentication(config: Dict[str, Any]) -> Dict[str, Any]:
if not public_key.endswith('\n'):
public_key += '\n'
secret_metadata = k8s.client.V1ObjectMeta(name=secret_name,
labels={"parent": "skypilot"})
labels={'parent': 'skypilot'})
secret = k8s.client.V1Secret(
metadata=secret_metadata,
string_data={secret_field_name: public_key})
Expand Down
4 changes: 2 additions & 2 deletions sky/utils/kubernetes/ssh_jump_lifecycle_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
reused and will terminate itself when it sees that no ray clusters exist in
that duration.
To allow multiple users to the share the same SSH jump pod,
To allow multiple users to the share the same SSH jump pod,
this script also reloads SSH keys from the mounted secret volume on an
interval and updates `~/.ssh/authorized_keys`.
"""
Expand Down Expand Up @@ -45,7 +45,7 @@

def poll(interval, leading=True):
"""Decorator factory for polling function. To stop polling, return True.
Args:
interval (int): The amount of time to wait between function calls.
leading (bool): Whether to wait before (rather than after) calls.
Expand Down

0 comments on commit e125c05

Please sign in to comment.