From 751f66f3a6064d5721c6824a6ac2cfd5c4d6142d Mon Sep 17 00:00:00 2001 From: Shantanu Gadgil Date: Tue, 6 Jul 2021 08:48:04 +0530 Subject: [PATCH] constraint on the Docker driver missing 'attr' Between this page and https://www.nomadproject.io/docs/runtime/interpolation I realized that the syntax on the Docker page was missing the word `attr`. --- website/content/docs/drivers/docker.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/content/docs/drivers/docker.mdx b/website/content/docs/drivers/docker.mdx index 38907d6be5d..6bdf5362993 100644 --- a/website/content/docs/drivers/docker.mdx +++ b/website/content/docs/drivers/docker.mdx @@ -1062,7 +1062,7 @@ Here is an example of using these properties in a job file: job "docs" { # Require docker version higher than 1.2. constraint { - attribute = "${driver.docker.version}" + attribute = "${attr.driver.docker.version}" operator = ">" version = "1.2" }