We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e831338 commit 8439be8Copy full SHA for 8439be8
src/std/fwlib/blockTypes/nomad.nix
@@ -70,7 +70,7 @@ in
70
render
71
if ! plan_results=$(nomad plan -force-color "$job_path"); then
72
echo "$plan_results"
73
- run() { echo "$plan_results" | grep 'nomad job run -check-index'; }
+ run() { eval "$(echo "$plan_results" | grep 'nomad job run -check-index')"; }
74
${askUserToProceedSnippet "deploy" "run"}
75
else
76
echo "Job hasn't changed since last deployment, nothing to deploy"
0 commit comments