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

Adds auto_restart to containerz.StopRequest. #139

Merged
merged 4 commits into from
Nov 1, 2023
Merged

Conversation

tomek-US
Copy link
Contributor

As there is no containerz.Restart() RPC it is possible to loose access to the device after calling Stop() on the container implementing the gNOI.containerz service.

Adding the auto_restart field to the Stop() RPC solves this problem.

As there is no containerz.Restart() RPC it is
possible to loose access to the device after
calling Stop() on the contaier implementing
the gNOI.containerz service.

Adding the auto_restart field to the Stop() RPC
solves this problem.
Copy link

github-actions bot commented Oct 31, 2023

Pull Request Test Coverage Report for Build 6722832990

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 0.0%

Totals Coverage Status
Change from base Build 6712317516: 0.0%
Covered Lines: 0
Relevant Lines: 0

💛 - Coveralls


// If auto_restart is set, the target should start the container immediately
// after stopping it.
bool auto_restart = 3;
Copy link
Contributor

Choose a reason for hiding this comment

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

bool restart

i think auto_restart makes it feel like the container will always restart

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Make sense. Thx for making the change!

@tomek-US tomek-US merged commit 718dd67 into main Nov 1, 2023
9 of 10 checks passed
@tomek-US tomek-US deleted the containerz-auto-restart branch November 1, 2023 17:30
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