Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't call sky refresh during ondemand cluster init #1258

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

carolineechen
Copy link
Collaborator

No description provided.

Copy link
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @carolineechen and the rest of your teammates on Graphite Graphite

)
if not check_connect_server():
raise f"Timed out trying to form connection for cluster {self.name}."
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The error raising here is missing the ConnectionError exception and uses an f-string without the f prefix. To maintain consistency with other error handling in this method and fix the syntax error, please update the line to:

raise ConnectionError(f"Timed out trying to form connection for cluster {self.name}.")

This change will ensure proper exception handling and string formatting.

Spotted by Graphite Reviewer

Is this helpful? React 👍 or 👎 to let us know.

@carolineechen carolineechen force-pushed the cc/skip-refresh branch 2 times, most recently from 79ec7eb to 58a19c2 Compare September 26, 2024 17:18
@carolineechen carolineechen merged commit f6baf49 into main Sep 27, 2024
11 of 13 checks passed
@carolineechen carolineechen deleted the cc/skip-refresh branch September 27, 2024 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants