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

create bridge with type #49

Merged
merged 1 commit into from
Jun 29, 2018
Merged

create bridge with type #49

merged 1 commit into from
Jun 29, 2018

Conversation

John-Lin
Copy link
Contributor

No description provided.

@codecov
Copy link

codecov bot commented Jun 28, 2018

Codecov Report

Merging #49 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #49   +/-   ##
=======================================
  Coverage   84.61%   84.61%           
=======================================
  Files           7        7           
  Lines         182      182           
=======================================
  Hits          154      154           
  Misses         17       17           
  Partials       11       11
Impacted Files Coverage Δ
openvswitch/ovs.go 93.33% <100%> (ø) ⬆️

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 f1f158f...82c7704. Read the comment docs.

@@ -62,7 +63,8 @@ func TestBridgeOperationsFail(t *testing.T) {
assert.Error(t, err)

bridgeName := "br0"
err = o.CreateBridge(bridgeName)
dpType := "system"
Copy link
Contributor

Choose a reason for hiding this comment

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

A better idea is to use constants to enumerate all the types. That's

const DatapathTypeSystem = "system"

@John-Lin John-Lin force-pushed the johnlin/create-br-with-type branch from 0ce000a to 103e6a0 Compare June 28, 2018 05:21
@c9s
Copy link

c9s commented Jun 29, 2018

looks good, can you rebase and squash ? you can use "fixup"

@John-Lin John-Lin force-pushed the johnlin/create-br-with-type branch from 103e6a0 to 82c7704 Compare June 29, 2018 05:49
@John-Lin John-Lin merged commit 41608f0 into master Jun 29, 2018
@John-Lin John-Lin deleted the johnlin/create-br-with-type branch June 29, 2018 06:03
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.

4 participants