-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Conversation
Codecov Report
@@ 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
Continue to review full report at Codecov.
|
@@ -26,6 +26,9 @@ | |||
@JsonProperty("Tty") | |||
private Boolean tty; | |||
|
|||
@JsonProperty("Privileged") | |||
private Boolean isPrivileged; |
There was a problem hiding this comment.
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() { |
There was a problem hiding this comment.
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
@KostyaSha I have updated the PR accordingly |
@@ -26,6 +26,9 @@ | |||
@JsonProperty("Tty") | |||
private Boolean tty; | |||
|
|||
@JsonProperty("Privileged") | |||
private Boolean privileged; |
There was a problem hiding this comment.
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..
@KostyaSha I added the since annotation. Sorry that it took so long. |
Fixes #902
This change is