Merge branch '3.4.x'
This commit is contained in:
commit
6f464e71da
@ -146,9 +146,11 @@ public class DockerApi {
|
||||
verifyApiVersion(apiVersion);
|
||||
try {
|
||||
URIBuilder builder = new URIBuilder("/v" + apiVersion + path);
|
||||
int param = 0;
|
||||
while (param < params.length) {
|
||||
builder.addParameter(Objects.toString(params[param++]), Objects.toString(params[param++]));
|
||||
if (params != null) {
|
||||
int param = 0;
|
||||
while (param < params.length) {
|
||||
builder.addParameter(Objects.toString(params[param++]), Objects.toString(params[param++]));
|
||||
}
|
||||
}
|
||||
return builder.build();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user