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(remove): Correctly search for networks when deleting machine #1699

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

LucaSeri
Copy link
Contributor

@LucaSeri LucaSeri commented Jun 3, 2024

Due to recent changes, the name of a network and the actual interface name might differ, so we cannot directly query for it. Instead, iterate through the networks and find the one the interface belongs to.

Prerequisite checklist

  • Read the contribution guidelines regarding submitting new changes to the project;
  • Tested your changes against relevant architectures and platforms;
  • Ran make fmt on your commit series before opening this PR;
  • Updated relevant documentation.

Description of changes

Due to recent changes, the name of a network and the actual
interface name might differ, so we cannot directly query
for it. Instead, iterate through the networks and find the
one the interface belongs to.

Signed-off-by: Luca Seritan <luca.seritan@gmail.com>
Copy link
Member

@craciunoiuc craciunoiuc left a comment

Choose a reason for hiding this comment

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

All good here. Thanks!

Reviewed-by: Cezar Craciunoiu cezar.craciunoiu@unikraft.io

@craciunoiuc craciunoiuc requested a review from nderjung June 4, 2024 07:53
Copy link
Member

@nderjung nderjung left a comment

Choose a reason for hiding this comment

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

Thanks!

@nderjung nderjung merged commit e6e6374 into unikraft:staging Jun 7, 2024
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