From a4af8abefab1afad40348e8ce7d79370ff748eca Mon Sep 17 00:00:00 2001 From: "K.C. Wong" Date: Wed, 13 Jul 2016 15:56:42 -0700 Subject: [PATCH] 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) --- website/source/docs/jobspec/json.html.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/source/docs/jobspec/json.html.md b/website/source/docs/jobspec/json.html.md index 9300fb30302..d120093561c 100644 --- a/website/source/docs/jobspec/json.html.md +++ b/website/source/docs/jobspec/json.html.md @@ -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.