File tree Expand file tree Collapse file tree 3 files changed +3
-9
lines changed
src/main/java/com/github/dockerjava/core/exec Expand file tree Collapse file tree 3 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 1212
1313import java .util .List ;
1414
15- import static com .google .common .net .UrlEscapers .urlPathSegmentEscaper ;
16-
1715public class ListServicesCmdExec extends AbstrSyncDockerCmdExec <ListServicesCmd , List <Service >> implements
1816 ListServicesCmd .Exec {
1917
@@ -29,7 +27,7 @@ protected List<Service> execute(ListServicesCmd command) {
2927
3028 if (command .getFilters () != null && !command .getFilters ().isEmpty ()) {
3129 webTarget = webTarget
32- .queryParam ("filters" , urlPathSegmentEscaper (). escape ( FiltersEncoder .jsonEncode (command .getFilters () )));
30+ .queryParam ("filters" , FiltersEncoder .jsonEncode (command .getFilters ()));
3331 }
3432
3533 LOGGER .trace ("GET: {}" , webTarget );
Original file line number Diff line number Diff line change 1212
1313import java .util .List ;
1414
15- import static com .google .common .net .UrlEscapers .urlPathSegmentEscaper ;
16-
1715public class ListSwarmNodesCmdExec extends AbstrSyncDockerCmdExec <ListSwarmNodesCmd , List <SwarmNode >> implements
1816 ListSwarmNodesCmd .Exec {
1917
@@ -30,7 +28,7 @@ protected List<SwarmNode> execute(ListSwarmNodesCmd command) {
3028
3129 if (command .getFilters () != null && !command .getFilters ().isEmpty ()) {
3230 webTarget = webTarget
33- .queryParam ("filters" , urlPathSegmentEscaper (). escape ( FiltersEncoder .jsonEncode (command .getFilters () )));
31+ .queryParam ("filters" , FiltersEncoder .jsonEncode (command .getFilters ()));
3432 }
3533
3634 LOGGER .trace ("GET: {}" , webTarget );
Original file line number Diff line number Diff line change 1212
1313import java .util .List ;
1414
15- import static com .google .common .net .UrlEscapers .urlPathSegmentEscaper ;
16-
1715public class ListTasksCmdExec extends AbstrSyncDockerCmdExec <ListTasksCmd , List <Task >> implements
1816 ListTasksCmd .Exec {
1917
@@ -29,7 +27,7 @@ protected List<Task> execute(ListTasksCmd command) {
2927
3028 if (command .getFilters () != null && !command .getFilters ().isEmpty ()) {
3129 webTarget = webTarget
32- .queryParam ("filters" , urlPathSegmentEscaper (). escape ( FiltersEncoder .jsonEncode (command .getFilters () )));
30+ .queryParam ("filters" , FiltersEncoder .jsonEncode (command .getFilters ()));
3331 }
3432
3533 LOGGER .trace ("GET: {}" , webTarget );
You can’t perform that action at this time.
0 commit comments