Tool history - fix duplicate key error
@@ -212,7 +212,7 @@ public class DockerClient {
.map(ManifestV2::getLayers)
.map(Collection::stream)
.orElse(Stream.empty())
- .collect(Collectors.toMap(ManifestV2.Config::getDigest, ManifestV2.Config::getSize));
+ .collect(Collectors.toMap(ManifestV2.Config::getDigest, ManifestV2.Config::getSize, Long::sum));
}
private List<String> getLayersDigestDirectCreationOrder(final RawImageDescription rawImage) {
