You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/configuration/DockerConfigurationMetadata.java
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -219,11 +219,11 @@ static final class Auth extends MappedObject {
219
219
Auth(JsonNodenode) {
220
220
super(node, MethodHandles.lookup());
221
221
Stringauth = valueAt("/auth", String.class);
222
-
if (StringUtils.hasText(auth)) {
222
+
if (StringUtils.hasLength(auth)) {
223
223
String[] parts = newString(Base64.getDecoder().decode(auth)).split(":", 2);
224
224
Assert.state(parts.length == 2, "Malformed auth in docker configuration metadata");
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/test/resources/org/springframework/boot/buildpack/platform/docker/configuration/with-auth/config.json
0 commit comments