update Listservices filter - #1002
Conversation
| * @param names - Show only services with the given names | ||
| */ | ||
|
|
||
| ListServicesCmd withNameFilter(String... names); |
There was a problem hiding this comment.
method with list already exist, why do you nead additional?
There was a problem hiding this comment.
existing signature is List, add Varargs to get consistent with existing ListTasksCmd
There was a problem hiding this comment.
the idea is to stop using non collection types
There was a problem hiding this comment.
IMHO, sometimes varargs is more convenient, e.g. withIdFilter(id) is convenient than cast to List withIdFilter(Collections.singletonList(id)), anyway, I removed the varargs
0ad1f6d to
0918e79
Compare
Codecov Report
@@ Coverage Diff @@
## master #1002 +/- ##
==========================================
- Coverage 59.34% 58.68% -0.66%
==========================================
Files 441 441
Lines 8699 8711 +12
Branches 540 540
==========================================
- Hits 5162 5112 -50
- Misses 3238 3298 +60
- Partials 299 301 +2
Continue to review full report at Codecov.
|
add missing label filter for docker service
This change is