mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
In #18925 we added a `-json` flag to the `job status` command, but the argument handling had a bug where it would always set the `-json` flag if either the `-t` or `-json` flags were set, resulting in a misleading error. Instead, pass the `-json` flag value into the formatter. Fixes: https://github.com/hashicorp/nomad/issues/24050
22 KiB
22 KiB