Skip to content

Implement container rename api#504

Closed
lujian0571 wants to merge 4 commits intodocker-java:masterfrom
lujian0571:master
Closed

Implement container rename api#504
lujian0571 wants to merge 4 commits intodocker-java:masterfrom
lujian0571:master

Conversation

@lujian0571
Copy link
Copy Markdown
Contributor

/**
* rename a container.
*
* Created by lujian on 16/3/16.
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.

use @author javadoc without the date

@codecov-io
Copy link
Copy Markdown

Current coverage is 22.81%

Merging #504 into master will decrease coverage by -0.11% as of 11f0e80

@@            master    #504   diff @@
======================================
  Files          291     294     +3
  Stmts         6042    6071    +29
  Branches       527     527       
  Methods          0       0       
======================================
  Hit           1385    1385       
  Partial         83      83       
- Missed        4574    4603    +29

Review entire Coverage Diff as of 11f0e80

Powered by Codecov. Updated on successful CI builds.

try {
dockerClient.restartContainerCmd("non-existing").exec();
fail("expected NotFoundException");
} catch (NotFoundException e) {
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.

Should have expected test annotation

@KostyaSha
Copy link
Copy Markdown
Member

Please check when this method appeared and mark it in javadoc for cmds.

import javax.annotation.Nonnull;

/**
* rename a container.
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.

Please start with capital letter :)

@KostyaSha
Copy link
Copy Markdown
Member

Thanks, i will handle this pr on weekend.

@KostyaSha
Copy link
Copy Markdown
Member

And it appeared in 1.17!

@KostyaSha KostyaSha added this to the 3.0.0 milestone Mar 20, 2016
@KostyaSha
Copy link
Copy Markdown
Member

Thanks for contribution!

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