mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-27 20:49:34 +00:00
Merge branch '3.4.x'
This commit is contained in:
+5
-3
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user