Skip to content

Commit

Permalink
v10
Browse files Browse the repository at this point in the history
  • Loading branch information
nikita-petko committed Jul 1, 2024
1 parent b578129 commit 3c66b27
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
6 changes: 1 addition & 5 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

8 changes: 1 addition & 7 deletions src/nomad/nomad_group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,7 @@ export function generateGroupSection(
configuration?.volumes !== undefined &&
configuration.volumes.length > 0
) {
groupText += `\n volumes = [\n`

for (const volume of configuration.volumes) {
groupText += ` "${volume}"\n`
}

groupText += ` ]\n`
groupText += `\n volumes = ${JSON.stringify(configuration.volumes)}\n`
}

if (
Expand Down

0 comments on commit 3c66b27

Please sign in to comment.