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

ccm: Make 'opts' parameter of the 'stop' method be optional #1234

Merged

Conversation

vponomaryov
Copy link

It will allow to use the 'stop' method just providing "None" parameter:

  ... .stop(None).await;

Pre-review checklist

  • I have split my patch into logically separate commits.
  • All commit messages clearly explain what they change and why.
  • I added relevant tests for new features and bug fixes.
  • All commits compile, pass static checks and pass test.
  • PR description sums up the changes and reasons why they should be introduced.
  • I have provided docstrings for the public items that I want to introduce.
  • I have adjusted the documentation in ./docs/source/.
  • I added appropriate Fixes: annotations to PR description.

It will allow to use the 'stop' method just providing "None" parameter:

  ... .stop(None).await;
Copy link

cargo semver-checks found no API-breaking changes in this PR! 🎉🥳
Checked commit: 7d9b25f

@@ -174,6 +174,7 @@ impl NodeStartOptions {
/// Options to stop the node with.
/// It allows to control the value of `--no-wait` and `--not-gently` ccm options.
#[allow(dead_code)]
#[derive(Default)]
Copy link
Contributor

Choose a reason for hiding this comment

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

Both booleans will be set to false. This is expected, right?

Copy link
Author

Choose a reason for hiding this comment

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

Right, the same as in the new is expected.

@Lorak-mmk Lorak-mmk merged commit c839847 into scylladb:branch-hackathon Feb 12, 2025
12 checks passed
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.

3 participants