Skip to content

Commit c6d38ae

Browse files
Wulf ThimmWulf Thimm
Wulf Thimm
authored and
Wulf Thimm
committed
dev
1 parent 06c4a5e commit c6d38ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.werft/jobs/build/prepare.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ function configureCoreDevAccess() {
6363
}
6464

6565
function decideHarvesterVMCreation(werft: Werft, config: JobConfig) {
66-
if (config.withVM && !VM.vmExists({ name: config.previewEnvironment.destname })) {
66+
const namespace = "preview-" + config.previewEnvironment.destname
67+
if (config.withVM && !VM.vmExists({ name: namespace })) {
6768
prepareVM(werft, config)
6869
} else {
6970
werft.currentPhaseSpan.setAttribute("werft.harvester.created_vm", false)

0 commit comments

Comments
 (0)