Skip to content

Adds network labels to createNetworkCmd and Network domain#760

Closed
cirocosta wants to merge 1 commit intodocker-java:masterfrom
cirocosta:network-labels
Closed

Adds network labels to createNetworkCmd and Network domain#760
cirocosta wants to merge 1 commit intodocker-java:masterfrom
cirocosta:network-labels

Conversation

@cirocosta
Copy link
Copy Markdown
Contributor

@cirocosta cirocosta commented Dec 14, 2016

Hey,

it looks like we're missing Labels on both Network domain and CreateNetworkCmd.

I'm not sure if all followed all the conventions. Please tell me how can i fix it if something is missing. Thx!


This change is Reviewable

@igr
Copy link
Copy Markdown
Contributor

igr commented Jan 20, 2017

It would be super-awesome if someone can merge this simple, but necessary fix.



@Test
public void createNetworkWithLabels() throws DockerException {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Could you add this test to CreateNetworkCmdExecTest also please?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

test will fail on 1.22, so pr builder will also fail

@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #760 into master will increase coverage by 0.12%.

@@            Coverage Diff             @@
##           master     #760      +/-   ##
==========================================
+ Coverage   71.11%   71.24%   +0.12%     
==========================================
  Files         303      303              
  Lines        6547     6551       +4     
  Branches      592      592              
==========================================
+ Hits         4656     4667      +11     
+ Misses       1607     1602       -5     
+ Partials      284      282       -2
Impacted Files Coverage Δ
.../dockerjava/core/command/CreateNetworkCmdImpl.java 62.96% <100%> (+4.62%)
.../java/com/github/dockerjava/api/model/Network.java 66.66% <100%> (+0.87%)
...ava/netty/handler/FramedResponseStreamHandler.java 89.65% <ø> (+3.44%)
...va/org/apache/http/impl/io/ChunkedInputStream.java 60.19% <ø> (+4.85%)

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 15aa30e...c9a7235. Read the comment docs.

Copy link
Copy Markdown
Member

@KostyaSha KostyaSha left a comment

Choose a reason for hiding this comment

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

test for second cmd impl

Copy link
Copy Markdown
Member

@KostyaSha KostyaSha left a comment

Choose a reason for hiding this comment

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

see comments

@KostyaSha KostyaSha closed this Aug 22, 2019
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.

5 participants