Skip to content

Comments

iptables: style clean ups#75

Merged
jtblin merged 1 commit intojtblin:masterfrom
dcheney-atlassian:iptables-cleanup
May 29, 2017
Merged

iptables: style clean ups#75
jtblin merged 1 commit intojtblin:masterfrom
dcheney-atlassian:iptables-cleanup

Conversation

@dcheney-atlassian
Copy link
Contributor

Some small clean ups I spotted while reading the code.

  • simplify error handling in AddRule
  • unexport CheckInterfaceExists; it's not called outside iptables
  • fix go vet errors in iptables_test.go

Some small clean ups I spotted while reading the code.

 - simplify error handling in AddRule
 - unexport CheckInterfaceExists; it's not called outside iptables
 - fix go vet errors in iptables_test.go
@jtblin jtblin merged commit d7bf029 into jtblin:master May 29, 2017
@jtblin
Copy link
Owner

jtblin commented May 29, 2017

Thanks 👍

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.

2 participants