From 3ce044876e83fdec7a42b643d50c8ff49eb6a227 Mon Sep 17 00:00:00 2001 From: Mahmood Ali Date: Thu, 10 Dec 2020 09:29:14 -0500 Subject: [PATCH] unquote env attributes --- website/pages/docs/job-specification/env.mdx | 2 -- website/pages/docs/runtime/interpolation.mdx | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/website/pages/docs/job-specification/env.mdx b/website/pages/docs/job-specification/env.mdx index bff811ed1..a2fad4bca 100644 --- a/website/pages/docs/job-specification/env.mdx +++ b/website/pages/docs/job-specification/env.mdx @@ -48,8 +48,6 @@ is preserved. env { key = 1.4 key = "1.4" - "key" = 1.4 - "key" = "1.4" key = true key = "1" diff --git a/website/pages/docs/runtime/interpolation.mdx b/website/pages/docs/runtime/interpolation.mdx index 0706d06ef..b3a873c55 100644 --- a/website/pages/docs/runtime/interpolation.mdx +++ b/website/pages/docs/runtime/interpolation.mdx @@ -47,8 +47,8 @@ task "docs" { # Environment variables are interpreted and can contain both runtime and # node attributes. These environment variables are passed into the task. env { - "DC" = "Running on datacenter ${node.datacenter}" - "VERSION" = "Version ${NOMAD_META_VERSION}" + DC = "Running on datacenter ${node.datacenter}" + VERSION = "Version ${NOMAD_META_VERSION}" } # Meta keys are also interpretable.