Skip to content

Add Privileged property to ExecCreateCmd #903

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

Merged
merged 1 commit into from
Oct 20, 2017
Merged

Add Privileged property to ExecCreateCmd #903

merged 1 commit into from
Oct 20, 2017

Conversation

Jotschi
Copy link
Contributor

@Jotschi Jotschi commented Aug 16, 2017

Fixes #902


This change is Reviewable

@codecov-io
Copy link

codecov-io commented Aug 16, 2017

Codecov Report

Merging #903 into 3.0.x will increase coverage by 0.01%.
The diff coverage is 33.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##            3.0.x     #903      +/-   ##
==========================================
+ Coverage   71.72%   71.73%   +0.01%     
==========================================
  Files         306      306              
  Lines        6878     6881       +3     
  Branches      516      516              
==========================================
+ Hits         4933     4936       +3     
- Misses       1646     1647       +1     
+ Partials      299      298       -1
Impacted Files Coverage Δ
...hub/dockerjava/core/command/ExecCreateCmdImpl.java 78.57% <33.33%> (-5.43%) ⬇️
...ava/netty/handler/FramedResponseStreamHandler.java 93.1% <0%> (+3.44%) ⬆️

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 df7b5e6...4defafd. Read the comment docs.

@@ -26,6 +26,9 @@
@JsonProperty("Tty")
private Boolean tty;

@JsonProperty("Privileged")
private Boolean isPrivileged;
Copy link
Member

Choose a reason for hiding this comment

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

just privileged without is.

@@ -109,6 +118,11 @@ public Boolean hasTtyEnabled() {
}

@Override
public Boolean isPrivileged() {
Copy link
Member

Choose a reason for hiding this comment

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

for objects it should be getPrivileged() because Boolean is object

@Jotschi
Copy link
Contributor Author

Jotschi commented Aug 18, 2017

@KostyaSha I have updated the PR accordingly

@KostyaSha KostyaSha added this to the 3.0.14 milestone Sep 6, 2017
@@ -26,6 +26,9 @@
@JsonProperty("Tty")
private Boolean tty;

@JsonProperty("Privileged")
private Boolean privileged;
Copy link
Member

Choose a reason for hiding this comment

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

please add

/**
 * @since 1.29
 **/

if it was added since 1.29..

@Jotschi
Copy link
Contributor Author

Jotschi commented Oct 20, 2017

@KostyaSha I added the since annotation. Sorry that it took so long.

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