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

Add StopSDN call lost during refactoring #861

Merged
merged 1 commit into from
May 3, 2023

Conversation

milan-zededa
Copy link
Contributor

@milan-zededa milan-zededa commented May 2, 2023

As most functions have moved to openevec package, StopEve() accidentally lost call to StopSDN(), which stops SDN VM if it is running.
@uncleDecart, I noticed that StopEVE() is duplicated and still exists also outside of openevec: https://github.com/lf-edge/eden/blob/master/pkg/eden/eden.go#L896-L926

Signed-off-by: Milan Lenco <milan@zededa.com>
@uncleDecart
Copy link
Collaborator

What do you think if we call eden.StopEve from pkg/openevec for now?

@milan-zededa
Copy link
Contributor Author

What do you think if we call eden.StopEve from pkg/openevec for now?

Sorry, misunderstood the question.
Yes that could work as well.

Copy link
Collaborator

@uncleDecart uncleDecart left a comment

Choose a reason for hiding this comment

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

LGTM. Let's create a ticket for clean-up, but what I meant is calling eden.StopEVE from pkg/openevec/eve.go instead of StopEden

@uncleDecart
Copy link
Collaborator

@milan-zededa Created #862

@giggsoff giggsoff merged commit 22b7624 into lf-edge:master May 3, 2023
7 of 9 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.

None yet

3 participants