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

Don't copy existing config when disabling IPv4/v6 #197

Merged
merged 1 commit into from Dec 18, 2018

Conversation

cathay4t
Copy link
Member

Only preserving existing IP configurations when IPv4/6 is enabled.

Fixes: #188

@cathay4t
Copy link
Member Author

Big thanks to @phoracek for finding the bug.

@cathay4t cathay4t changed the title Don't copy existing config when disabling a IPv4/6 Don't copy existing config when disabling IPv4/6 Dec 18, 2018
@tyll tyll requested review from EdDev and tyll December 18, 2018 12:37
Only preserving existing IP configurations when IPv4/v6 is enabled.

Signed-off-by: Gris Ge <fge@redhat.com>
@cathay4t cathay4t changed the title Don't copy existing config when disabling IPv4/6 Don't copy existing config when disabling IPv4/v6 Dec 18, 2018
Copy link
Member

@tyll tyll left a comment

Choose a reason for hiding this comment

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

LGTM

@coveralls
Copy link

coveralls commented Dec 18, 2018

Coverage Status

Coverage remained the same at 69.87% when pulling 2086f6f on cathay4t:clear_when_down into 2457878 on nmstate:master.

@tyll
Copy link
Member

tyll commented Dec 18, 2018

The commit message should probably be something like this to follow our style guide:

NM: Preserve existing IP configurations only when IPv4/v6 is enabled

IMHO the summary and the next line essentially say the same, so one of them is enough.

@tyll tyll merged commit e5a41c1 into nmstate:master Dec 18, 2018
@cathay4t cathay4t deleted the clear_when_down branch December 18, 2018 13:10
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

4 participants