Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Nomad
Commits
f856cd4c
Commit
f856cd4c
authored
5 years ago
by
Tim Gross
Browse files
Options
Download
Email Patches
Plain Diff
script checks: use cat instead of ls for exit code agreement
parent
863339d6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
e2e/consul/input/checks_group.nomad
+1
-1
e2e/consul/input/checks_group.nomad
e2e/consul/input/checks_task.nomad
+1
-1
e2e/consul/input/checks_task.nomad
with
2 additions
and
2 deletions
+2
-2
e2e/consul/input/checks_group.nomad
+
1
-
1
View file @
f856cd4c
...
...
@@ -45,7 +45,7 @@ job "group_check" {
task
=
"test"
interval
=
"2s"
timeout
=
"2s"
command
=
"
ls
"
command
=
"
cat
"
args
=
[
"${NOMAD_TASK_DIR}/alive-2b"
]
}
}
...
...
This diff is collapsed.
Click to expand it.
e2e/consul/input/checks_task.nomad
+
1
-
1
View file @
f856cd4c
...
...
@@ -39,7 +39,7 @@ job "task_check" {
type
=
"script"
interval
=
"2s"
timeout
=
"2s"
command
=
"
ls
"
command
=
"
cat
"
args
=
[
"${NOMAD_TASK_DIR}/alive-2b"
]
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment