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

Change the default value of --create-global-downtime #290

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

michael-richey
Copy link
Collaborator

What does this PR do?

Create a global downtime at the destination for sync and migrate commands by default. Allow the user to override it by setting the --create-global-downtime command line option to False

Description of the Change

This changes the default value of --create-global-downtime to True, changed the type to bool rather than a flag.

Possible Drawbacks

This changes the default behavior on sync-cli. Users could accidentally create downtimes at destinations when they don't mean to do so. This will mute all their monitors at the destination org.

Release Notes

Need to bump the major release number for this change.

@michael-richey michael-richey marked this pull request as ready for review October 4, 2024 20:30
@michael-richey michael-richey requested a review from a team as a code owner October 4, 2024 20:30
Copy link
Collaborator

@heyronhay heyronhay left a comment

Choose a reason for hiding this comment

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

Looks like it already has logic to prevent multiple global downtimes from being created, is that correct?

@michael-richey
Copy link
Collaborator Author

Looks like it already has logic to prevent multiple global downtimes from being created, is that correct?

Exactly!

@michael-richey michael-richey merged commit 76ca097 into main Oct 7, 2024
18 checks passed
@michael-richey michael-richey deleted the michael.richey/default-downtime-true branch October 7, 2024 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants