Fix image name evaluation.

This commit is contained in:
Michael Lipp 2023-08-08 14:22:01 +02:00
parent 85dca0cb80
commit 093c6cf1d0

View file

@ -142,7 +142,7 @@ public class Reconciler extends Component {
continue;
}
String image = cdrom.get("image").getAsString();
if (!image.contains("/")) {
if (!image.contains("/") && !image.isEmpty()) {
cdrom.addProperty("image",
Constants.IMAGE_REPO_PATH + "/" + image);
}