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

Remove unused config check #434

Merged
merged 1 commit into from
Aug 4, 2015

Conversation

runcom
Copy link
Member

@runcom runcom commented Aug 3, 2015

This seems redunant:
https://github.com/docker/libnetwork/compare/docker:master...runcom:remove-unused-config-check?expand=1#diff-d7584a11ca25df23d34e42758563aba7L15
ErrIPFwdCfg is not used anymore, the function doesn't depend on the config...
The test for ErrIPFwdCfg is removed

Since it's only called checking the config from the outside. Hope it's good :)

Signed-off-by: Antonio Murdaca runcom@linux.com

@@ -27,7 +27,6 @@ func newLink(parentIP, childIP string, ports []types.TransportPort, bridge strin
ports: ports,
bridge: bridge,
}

Copy link
Contributor

Choose a reason for hiding this comment

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

Please remove this change when you push again to take care of the test code changes

Copy link
Member Author

Choose a reason for hiding this comment

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

👍

Signed-off-by: Antonio Murdaca <runcom@linux.com>
@runcom runcom force-pushed the remove-unused-config-check branch from e083be7 to f657962 Compare August 3, 2015 23:04
@aboch
Copy link
Contributor

aboch commented Aug 4, 2015

This happened when we moved enable IP forwarding flag from network configuration to driver configuration. The setup function was before being executed as a step function, therefore it had a config as parameter that somehow remained in there.

Thanks for the cleanup.
LGTM

@mavenugo
Copy link
Contributor

mavenugo commented Aug 4, 2015

LGTM

mavenugo added a commit that referenced this pull request Aug 4, 2015
@mavenugo mavenugo merged commit 84d8c77 into moby:master Aug 4, 2015
@runcom runcom deleted the remove-unused-config-check branch August 4, 2015 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants