Skip to content

Commit db9085c

Browse files
committed
Add spaces to DockerWrapper
1 parent d923842 commit db9085c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

SequenceAnalysis/api-src/org/labkey/api/sequenceanalysis/run/DockerWrapper.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,18 +108,18 @@ public void executeWithDocker(List<String> containerArgs, File workDir, Pipeline
108108
_environment.put("HOME", _alternateUserHome);
109109
}
110110

111-
_ctx.getDockerVolumes().forEach(v -> writer.println("\t-v '" + v + "':'" + v + "'\\"));
111+
_ctx.getDockerVolumes().forEach(v -> writer.println("\t-v '" + v + "':'" + v + "' \\"));
112112
if (inputFiles != null)
113113
{
114-
inspectInputFiles(inputFiles).forEach(v -> writer.println("\t-v '" + v + "':'" + v + "'\\"));
114+
inspectInputFiles(inputFiles).forEach(v -> writer.println("\t-v '" + v + "':'" + v + "' \\"));
115115
}
116116

117117
if (_tmpDir != null)
118118
{
119119
// NOTE: getDockerVolumes() should be refactored to remove the -v and this logic should be updated accordingly:
120120
if (_ctx.getDockerVolumes().stream().noneMatch(_tmpDir.getPath()::startsWith))
121121
{
122-
writer.println("\t-v \"" + _tmpDir.getPath() + ":/tmp\" \\");
122+
writer.println("\t-v '" + _tmpDir.getPath() + "':/tmp \\");
123123
}
124124
else
125125
{

0 commit comments

Comments
 (0)