mirror of
https://github.com/kemko/nomad.git
synced 2026-01-03 08:55:43 +03:00
Many of our scripts have a non-portable interpreter line for bash and use bash-specific variables like `BASH_SOURCE`. Update the interpreter line to be portable between various Linuxes and macOS without complaint from posix shell users.
4 lines
114 B
Bash
Executable File
4 lines
114 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
nomad operator api "/v1/allocation/${NOMAD_ALLOC_ID}" | jq '.NetworkStatus.Address | length'
|