Skip to content

Commit ebf9ab5

Browse files
committed
Merge pull request #47694 from Pankraz76
* pr/47694: Remove unnused parameter Closes gh-47694
2 parents 5280f1a + 168fa85 commit ebf9ab5

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

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/ExportedImageTar.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ static LayerArchiveFactory create(ImageReference reference, Path tarFile) throws
129129
Assert.state(index != null || manifest != null,
130130
"Exported image '%s' does not contain 'index.json' or 'manifest.json'".formatted(reference));
131131
return (index != null) ? new IndexLayerArchiveFactory(tarFile, index)
132-
: new ManifestLayerArchiveFactory(tarFile, manifest);
132+
: new ManifestLayerArchiveFactory(manifest);
133133
}
134134
}
135135

@@ -265,7 +265,7 @@ private static class ManifestLayerArchiveFactory extends LayerArchiveFactory {
265265

266266
private Set<String> layers;
267267

268-
ManifestLayerArchiveFactory(Path tarFile, ImageArchiveManifest manifest) {
268+
ManifestLayerArchiveFactory(ImageArchiveManifest manifest) {
269269
this.layers = manifest.getEntries()
270270
.stream()
271271
.flatMap((entry) -> entry.getLayers().stream())

0 commit comments

Comments
 (0)