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

Support reopen tap FD if something wrong to VM #864

Merged
merged 2 commits into from
Feb 14, 2019

Conversation

keyingliu
Copy link
Contributor

@keyingliu keyingliu commented Feb 13, 2019

Fix issue #833


This change is Reviewable

@keyingliu keyingliu force-pushed the retrieve branch 3 times, most recently from 2be8bcc to 5382fc1 Compare February 13, 2019 09:06
Copy link
Contributor

@jellonek jellonek left a 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).

@keyingliu
Copy link
Contributor Author

Updated

Copy link
Contributor

@jellonek jellonek left a 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.

:lgtm:

Reviewed 1 of 1 files at r2.
Reviewable status: :shipit: complete! 1 of 1 approvals obtained

@keyingliu
Copy link
Contributor Author

Sure, will have another commit for unit test

Copy link
Contributor

@ivan4th ivan4th left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 2 of 4 files at r1, 1 of 1 files at r2, 1 of 1 files at r3.
Reviewable status: :shipit: complete! 2 of 1 approvals obtained

@ivan4th ivan4th merged commit c228876 into Mirantis:master Feb 14, 2019
@keyingliu keyingliu mentioned this pull request Feb 15, 2019
@ivan4th ivan4th mentioned this pull request Feb 20, 2019
5 tasks
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