-
Notifications
You must be signed in to change notification settings - Fork 128
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
Support reopen tap FD if something wrong to VM #864
Conversation
2be8bcc
to
5382fc1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 4 of 4 files at r1.
Reviewable status: 1 change requests, 0 of 1 approvals obtained (waiting on @keyingliu)
pkg/tapmanager/tapfdsource.go, line 355 at r1 (raw file):
}() if podNet == nil { return nil, fmt.Errorf("bad key (%s) to retrieve FDs", key)
Please use %q instead of (%s).
Updated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add test cases to cover these changes?
If not - we have to add a followup issue for them.
Reviewed 1 of 1 files at r2.
Reviewable status: complete! 1 of 1 approvals obtained
Sure, will have another commit for unit test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 4 files at r1, 1 of 1 files at r2, 1 of 1 files at r3.
Reviewable status: complete! 2 of 1 approvals obtained
Fix issue #833
This change is