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

Same Opt API for Load and New #24

Merged
merged 1 commit into from
Mar 19, 2018
Merged

Same Opt API for Load and New #24

merged 1 commit into from
Mar 19, 2018

Conversation

crosbymichael
Copy link
Member

Signed-off-by: Michael Crosby crosbymichael@gmail.com

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
@@ -117,9 +117,9 @@ func (c *libcni) Setup(id string, path string, opts ...NamespaceOpts) (*CNIResul

// Remove removes the network config from the namespace
func (c *libcni) Remove(id string, path string, opts ...NamespaceOpts) error {
if err:=c.Status();err!=nil{
Copy link
Member Author

Choose a reason for hiding this comment

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

You not gofmt'ing your code @abhi !!!!

@codecov-io
Copy link

codecov-io commented Mar 19, 2018

Codecov Report

Merging #24 into master will decrease coverage by 0.06%.
The diff coverage is 32.78%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #24      +/-   ##
==========================================
- Coverage   40.52%   40.46%   -0.07%     
==========================================
  Files           8        8              
  Lines         306      304       -2     
==========================================
- Hits          124      123       -1     
+ Misses        153      152       -1     
  Partials       29       29
Impacted Files Coverage Δ
cni.go 62.9% <16.66%> (ø) ⬆️
opts.go 16.52% <34.54%> (-0.58%) ⬇️

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 18e77c5...d6ba409. Read the comment docs.

Copy link
Member

@abhi abhi left a comment

Choose a reason for hiding this comment

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

LGTM

@abhi abhi merged commit 47457ea into master Mar 19, 2018
@crosbymichael crosbymichael deleted the cni-opts branch March 19, 2018 18:40
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

3 participants