fix: storage for compose bp + debug on

This commit is contained in:
Andras Bacsai
2022-11-23 10:57:52 +01:00
parent d402fd5690
commit 530e7e494f
4 changed files with 9 additions and 7 deletions

View File

@@ -37,9 +37,9 @@
let [volume, target] = volumeName.split(':');
if (!target) {
target = volume;
volume = `${application.id}${volume.replace(/\//gi, '-')}`;
volume = `${application.id}${volume.replace(/\//gi, '-').replace(/\./gi, '')}`;
} else {
volume = `${application.id}-${volume}`;
volume = `${application.id}${volume.replace(/\//gi, '-').replace(/\./gi, '')}`;
}
predefinedVolumes.push({ id: volume, path: target, predefined: true });
}