mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
Merge branch '3.4.x' into 3.5.x
Closes gh-47703
This commit is contained in:
+2
-2
@@ -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<String> layers;
|
||||
|
||||
ManifestLayerArchiveFactory(Path tarFile, ImageArchiveManifest manifest) {
|
||||
ManifestLayerArchiveFactory(ImageArchiveManifest manifest) {
|
||||
this.layers = manifest.getEntries()
|
||||
.stream()
|
||||
.flatMap((entry) -> entry.getLayers().stream())
|
||||
|
||||
Reference in New Issue
Block a user