Skip to content

Commit 96899e0

Browse files
committed
Merge branch '3.3.x' into 3.4.x
2 parents 5a3fc4a + 935d759 commit 96899e0

File tree

1 file changed

+2
-2
lines changed
  • spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/type

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/type/Image.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2024 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -98,7 +98,7 @@ public List<LayerId> getLayers() {
9898
* @return the image OS
9999
*/
100100
public String getOs() {
101-
return (!StringUtils.hasText(this.os)) ? this.os : "linux";
101+
return (!StringUtils.hasText(this.os)) ? "linux" : this.os;
102102
}
103103

104104
/**

0 commit comments

Comments
 (0)