diff --git a/src/main/java/io/openliberty/tools/common/plugins/util/DevUtil.java b/src/main/java/io/openliberty/tools/common/plugins/util/DevUtil.java index 2ed889d3..428fd62b 100644 --- a/src/main/java/io/openliberty/tools/common/plugins/util/DevUtil.java +++ b/src/main/java/io/openliberty/tools/common/plugins/util/DevUtil.java @@ -5710,7 +5710,7 @@ public void writeDevcMetadata(boolean alive) { metadataWriter = XMLOutputFactory.newInstance().createXMLStreamWriter(metaFileWriter) ; metadataWriter.writeStartDocument(); metadataWriter.writeStartElement("devcModeMetaData"); - writeElement(metadataWriter, "containerEngine", isDocker ? DEVC_CONTAINER_DOCKER : DEVC_CONTAINER_PODMAN); + writeElement(metadataWriter, "containerType", isDocker ? DEVC_CONTAINER_DOCKER : DEVC_CONTAINER_PODMAN); writeElement(metadataWriter, "containerName", containerName != null ? containerName : DEVMODE_CONTAINER_BASE_NAME); writeElement(metadataWriter, "imageName", imageName); if (containerfile != null) { diff --git a/src/test/java/io/openliberty/tools/common/plugins/util/DevUtilTest.java b/src/test/java/io/openliberty/tools/common/plugins/util/DevUtilTest.java index 13527f25..3069b33f 100644 --- a/src/test/java/io/openliberty/tools/common/plugins/util/DevUtilTest.java +++ b/src/test/java/io/openliberty/tools/common/plugins/util/DevUtilTest.java @@ -540,7 +540,7 @@ public void testWriteDevcMetadataSimple() throws XMLStreamException, FactoryConf assertTrue(content.contains("liberty-devtrue")); assertTrue(content.contains("600")); - assertTrue(content.contains("docker")); + assertTrue(content.contains("docker")); assertTrue(content.contains("")); assertTrue(content.contains("")); @@ -549,7 +549,7 @@ public void testWriteDevcMetadataSimple() throws XMLStreamException, FactoryConf assertTrue(content.contains("liberty-devfalse")); assertTrue(content.contains("600")); - assertTrue(content.contains("docker")); + assertTrue(content.contains("docker")); assertTrue(content.contains("")); assertTrue(content.contains("")); }