Add pipefail to Zookeeper health check
@@ -324,7 +324,7 @@ job "grapl-local-infra" {
name = "check_zookeeper"
command = "/bin/bash"
args = [
- "-o", "errexit", "-o", "nounset",
+ "-o", "errexit", "-o", "nounset", "-o", "pipefail",
"-c",
"echo ruok | nc -w 2 localhost ${var.zookeeper_port} | grep imok || exit 2",
]
