-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
network: move ipmasq management into platform-specific files #854
Conversation
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.
a732ab4
to
2c96da7
Compare
The tests are failing. I restarted it as it looks like a google connectivity problem. |
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.
Just one comment, otherwise looks good.
network/ipmasq.go
Outdated
@@ -1,3 +1,5 @@ | |||
// +build linux |
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.
What about just naming the file _linux.go?
a237d66
to
9704cbc
Compare
Since there is no actual Windows specific code in here, why not use this PR to just move iptables stuff out of main.go but not do any file renaming? |
@tomdee updated review to only be the minor refactoring, can you take a look? |
Looks good. If you squash the commits I can merge. |
6b10625
to
a2f9510
Compare
Squashed changes are pushed :) |
Looks good, merging. |
Description
As requested in #832 , we're breaking up the changes into smaller commits. This PR moves the Setup, monitoring, and teardown of IPMasq settings into platform-specific files. This is one of the requirements to get Flannel to build on Windows.
From the original PR (#832):