mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 17:35:43 +03:00
Replace Operator with Operand
* while HCL job-spec uses `operator`, JSON uses `Operand` * `Operand` is required, it no longer defaults to `==` (@see nomad/structs/structs.go#L2297)
This commit is contained in:
@@ -433,8 +433,8 @@ The `Constraint` object supports the following keys:
|
||||
This can be a literal value, another attribute or a regular expression if
|
||||
the `Operator` is in "regexp" mode.
|
||||
|
||||
* `Operator` - `Operator` if omitted defaults to `==` and an take on the
|
||||
following values:
|
||||
* `Operand` - Specifies the test to be performed on the two targets. It takes on the
|
||||
following values:
|
||||
|
||||
* `regexp` - Allows the `RTarget` to be a regular expression to be matched.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user