open-nomad/e2e/networking/inputs/validate.sh

3 lines
125 B
Bash
Raw Normal View History

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