Skip to content

Commit ef9ad41

Browse files
committed
Merge branch '3.3.x' into 3.4.x
Closes gh-45166
2 parents bb759d8 + a6f54ec commit ef9ad41

File tree

1 file changed

+1
-1
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

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public List<LayerId> getLayers() {
9898
* @return the image OS
9999
*/
100100
public String getOs() {
101-
return (!StringUtils.hasText(this.os)) ? "linux" : this.os;
101+
return (StringUtils.hasText(this.os)) ? this.os : "linux";
102102
}
103103

104104
/**

0 commit comments

Comments
 (0)