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

Fix golint errors #38

Merged
merged 4 commits into from
Jun 12, 2018
Merged

Fix golint errors #38

merged 4 commits into from
Jun 12, 2018

Conversation

sufuf3
Copy link
Contributor

@sufuf3 sufuf3 commented Jun 12, 2018

Related to: #34

  • Fix nl/netlink_event.go, nl/netlink_handler.go, client/main.go, nl/link.go golint errors

nl/netlink_event.go need to be fixed soon, because the function name effect to main function.

Fix:
- Line 1: warning: package comment should be of the form "Package nl
  ..." (golint)
Fix:
- Line 14: warning: exported type PodOptions should have comment or be
unexported (golint)
- Line 20: warning: exported type InterfaceOptions should have comment
or be unexported (golint)
- Line 26: warning: exported type ConnectOptions should have comment or
be unexported (golint)
- Line 31: warning: exported type ClientOptions should have comment or
be unexported (golint)
Fix:
- Line 9: warning: comment on exported function RemoveVethFromOVS should
be of the form "RemoveVethFromOVS ..." (golint)
Rename LinkReceiver to linkReceiver
Fix Line 14: warning: exported type LinkReceiver should have comment or
be unexported (golint)
@codecov
Copy link

codecov bot commented Jun 12, 2018

Codecov Report

Merging #38 into master will increase coverage by 0.14%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #38      +/-   ##
==========================================
+ Coverage   86.81%   86.95%   +0.14%     
==========================================
  Files           7        7              
  Lines         182      184       +2     
==========================================
+ Hits          158      160       +2     
  Misses         15       15              
  Partials        9        9
Impacted Files Coverage Δ
nl/netlink_handler.go 87.5% <ø> (ø) ⬆️
nl/link.go 65.9% <ø> (ø) ⬆️
nl/netlink_event.go 75% <100%> (ø) ⬆️
utils/utils.go 100% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9594271...5e7ed55. Read the comment docs.

Copy link
Contributor

@hwchiu hwchiu left a comment

Choose a reason for hiding this comment

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

LGTM

@John-Lin John-Lin merged commit ebd8e65 into master Jun 12, 2018
@John-Lin John-Lin deleted the sufuf3/golint branch June 12, 2018 06:19
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