Revert subdir for system image key

This commit is contained in:
ViacheslavKlimov 2023-11-17 16:54:03 +02:00
parent 3739b12f19
commit 3e95561e01

View File

@ -59,7 +59,7 @@ public class ImagesUpdater {
@SneakyThrows @SneakyThrows
public void updateSystemImage(Path imageFile, Map<String, String> imageNames) { public void updateSystemImage(Path imageFile, Map<String, String> imageNames) {
String imageKey = imageFile.getParent().getFileName() + "." + imageFile.getFileName().toString(); // TODO: add subdir to image key String imageKey = imageFile.getFileName().toString(); // TODO: add subdir to image key
String imageName = imageNames.get(imageKey); String imageName = imageNames.get(imageKey);
if (imageName == null) { if (imageName == null) {
imageName = imageKey; imageName = imageKey;