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

Fix iotedge restart command with workload sockets (#6891) #6898

Merged
merged 4 commits into from
Feb 13, 2023

Conversation

gordonwang0
Copy link
Contributor

@gordonwang0 gordonwang0 commented Feb 9, 2023

Fix the iotedge restart command so that it sends a stop request followed by a start request. This is necessary so that workload sockets are properly notified of the restart.

Fix the `iotedge restart` command so that it sends a stop request followed by a start request. This is necessary so that workload sockets are properly notified of the restart.
Comment on lines -149 to -152
async fn start(&self, _id: &str) -> anyhow::Result<()> {
unimplemented!()
}
async fn stop(&self, _id: &str, _wait_before_kill: Option<Duration>) -> anyhow::Result<()> {
Copy link
Contributor

@varunpuranik varunpuranik Feb 13, 2023

Choose a reason for hiding this comment

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

So, we are saying restart is now unimplemented?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, they are now implemented. Restart is the one that is now unimplemented.

Copy link
Contributor

Choose a reason for hiding this comment

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

or is this just internal?

Copy link
Member

@damonbarry damonbarry left a comment

Choose a reason for hiding this comment

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

Varun says he talked to Gordon about the changes and believes they're ready to merge.

@kodiakhq kodiakhq bot merged commit 08dfac5 into Azure:release/1.4 Feb 13, 2023
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.

3 participants