open-nomad/.changelog/14426.txt
Luiz Aoqui 94d7dddccd
cli: set -hcl2-strict to false if -hcl1 is defined (#14426)
These options are mutually exclusive but, since `-hcl2-strict` defaults
to `true` users had to explicitily set it to `false` when using `-hcl1`.

Also return `255` when job plan fails validation as this is the expected 
code in this situation.
2022-09-01 10:42:08 -04:00

8 lines
175 B
Plaintext

```release-note:improvement
cli: ignore `-hcl2-strict` when -hcl1 is set.
```
```release-note:bug
cli: return exit code `255` when `nomad job plan` fails job validation.
```