-
Notifications
You must be signed in to change notification settings - Fork 1.1k
add labels and attachable properties to network #844
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
816ea98 to
af22a40
Compare
Codecov Report
@@ Coverage Diff @@
## master #844 +/- ##
==========================================
+ Coverage 71.63% 71.66% +0.02%
==========================================
Files 306 306
Lines 6643 6655 +12
Branches 500 500
==========================================
+ Hits 4759 4769 +10
- Misses 1591 1593 +2
Partials 293 293
Continue to review full report at Codecov.
|
| CreateNetworkCmd withEnableIpv6(boolean enableIpv6); | ||
|
|
||
|
|
||
| CreateNetworkCmd withAttachable(boolean attachable); |
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 use Boolean
| } | ||
|
|
||
| public boolean isAttachable() { | ||
| return attachable == null ? false : attachable; |
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 return raw value, on end-user code you can wrap it simply with BooleanUtils
null in return value means that there is no value. No value != false from req/rsp view point.
|
please ADD since 1.24 (?) annotations for fields |
af22a40 to
7846537
Compare
|
Labels for network was added in 1.24, can be viewed on https://github.com/moby/moby/blob/master/docs/api/v1.24.md. |
7846537 to
b91fb95
Compare
b91fb95 to
d700d72
Compare
add labels and attachable properties to network
This change is