Revert subdir for system image key
This commit is contained in:
parent
3739b12f19
commit
3e95561e01
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user