mirror of
https://github.com/kemko/nomad.git
synced 2026-01-08 11:25:41 +03:00
unquote env attributes
This commit is contained in:
@@ -48,8 +48,6 @@ is preserved.
|
||||
env {
|
||||
key = 1.4
|
||||
key = "1.4"
|
||||
"key" = 1.4
|
||||
"key" = "1.4"
|
||||
|
||||
key = true
|
||||
key = "1"
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user