summaryrefslogtreecommitdiffstats
path: root/dozentenmodul/src
diff options
context:
space:
mode:
Diffstat (limited to 'dozentenmodul/src')
-rw-r--r--dozentenmodul/src/main/java/org/openslx/dozmod/util/ImageWrapper.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/util/ImageWrapper.java b/dozentenmodul/src/main/java/org/openslx/dozmod/util/ImageWrapper.java
index 07c137ab..9e272dda 100644
--- a/dozentenmodul/src/main/java/org/openslx/dozmod/util/ImageWrapper.java
+++ b/dozentenmodul/src/main/java/org/openslx/dozmod/util/ImageWrapper.java
@@ -5,9 +5,9 @@ import org.openslx.dozmod.Branding;
import org.openslx.dozmod.gui.Gui;
import org.openslx.dozmod.gui.helper.I18n;
import org.openslx.dozmod.gui.helper.MessageType;
-import org.openslx.dozmod.model.ContainerDefinition;
import org.openslx.thrifthelper.TConst;
import org.openslx.virtualization.configuration.VirtualizationConfigurationException;
+import org.openslx.virtualization.configuration.container.ContainerDefinition;
import org.openslx.virtualization.disk.DiskImage;
import org.openslx.virtualization.disk.DiskImageException;
@@ -49,7 +49,7 @@ public class ImageWrapper {
// TODO In future maybe this is a check to distinguish between VM-Image and Container Image
if (virtualizerId.equals(TConst.VIRT_DOCKER)) {
- ContainerDefinition conDef = (ContainerDefinition) ContainerDefinition.fromByteArray(virtualizerConfig);
+ ContainerDefinition conDef = ContainerDefinition.fromByteArray(virtualizerConfig);
conDef.saveLocal(destDir);
try {