open-nomad/e2e/networking/inputs/validate.sh
2020-10-12 13:43:04 -04:00

3 lines
125 B
Bash
Executable file

#!/bin/bash
test $(curl --silent ${NOMAD_ADDR}/v1/allocation/${NOMAD_ALLOC_ID} | jq '.NetworkStatus.Address | length') -ne 0