Skip to content

Commit 75aa5e6

Browse files
committed
Fix for the wrong detection of volume
1 parent fe57c28 commit 75aa5e6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/adapters/src/docker-instance-adapter.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,8 @@ IComponent {
186186

187187
const networkSetup = await this.getNetworkSetup();
188188

189+
const volumeId = config.id + "_" + config.parent_id;
190+
189191
const envs = getRunnerEnvEntries({
190192
sequencePath: path.join(config.sequenceDir, config.entrypointPath),
191193
instancesServerPort,
@@ -200,7 +202,7 @@ IComponent {
200202
imageName: config.container.image,
201203
volumes: [
202204
...extraVolumes,
203-
{ mountPoint: config.sequenceDir, volume: config.id, writeable: false }
205+
{ mountPoint: config.sequenceDir, volume: volumeId, writeable: false }
204206
],
205207
labels: {
206208
"scramjet.sequence.name": config.name

0 commit comments

Comments
 (0)