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

[Core] Fail with non-zero exit code when using unsupported features #4515

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

romilbhardwaj
Copy link
Collaborator

Closes #2775.

  • Code formatting: bash format.sh

@@ -2918,6 +2919,7 @@ def _down_or_stop(name: str):
except (exceptions.NotSupportedError,
exceptions.ClusterNotUpError) as e:
message = str(e)
sys.exit(1)
Copy link
Collaborator

Choose a reason for hiding this comment

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

We don't want a failure for a single cluster to abort the termination for the other clusters. Since we are running the terminations in parallel, how about we gather all the failures and show them in a table at the end and return non-zero for any failure happens during the termination at the end?

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.

[Core] Unsupported features should fail with non-zero exit code
2 participants