diff --git a/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/ExportedImageTar.java b/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/ExportedImageTar.java index 897e4915be1..e19204ed687 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/ExportedImageTar.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/ExportedImageTar.java @@ -130,7 +130,7 @@ class ExportedImageTar implements Closeable { () -> "Exported image '%s' does not contain 'index.json' or 'manifest.json'" .formatted(reference)); return (index != null) ? new IndexLayerArchiveFactory(tarFile, index) - : new ManifestLayerArchiveFactory(tarFile, manifest); + : new ManifestLayerArchiveFactory(manifest); } } @@ -266,7 +266,7 @@ class ExportedImageTar implements Closeable { private Set layers; - ManifestLayerArchiveFactory(Path tarFile, ImageArchiveManifest manifest) { + ManifestLayerArchiveFactory(ImageArchiveManifest manifest) { this.layers = manifest.getEntries() .stream() .flatMap((entry) -> entry.getLayers().stream())