Skip to content

Commit

Permalink
script checks: use cat instead of ls for exit code agreement
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross committed Sep 6, 2019
1 parent 863339d commit f856cd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion e2e/consul/input/checks_group.nomad
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ job "group_check" {
task = "test"
interval = "2s"
timeout = "2s"
command = "ls"
command = "cat"
args = ["${NOMAD_TASK_DIR}/alive-2b"]
}
}
Expand Down
2 changes: 1 addition & 1 deletion e2e/consul/input/checks_task.nomad
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ job "task_check" {
type = "script"
interval = "2s"
timeout = "2s"
command = "ls"
command = "cat"
args = ["${NOMAD_TASK_DIR}/alive-2b"]
}
}
Expand Down

0 comments on commit f856cd4

Please sign in to comment.