From 9fc94b33a1e36c710c802fb472d2ace5e9eea473 Mon Sep 17 00:00:00 2001 From: Preetha Appan Date: Thu, 14 Feb 2019 12:48:37 -0600 Subject: [PATCH] fix indentation --- command/job_init.go | 46 ++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/command/job_init.go b/command/job_init.go index 2e9ba5838..e5dbc2b59 100644 --- a/command/job_init.go +++ b/command/job_init.go @@ -350,17 +350,17 @@ job "example" { # https://www.nomadproject.io/docs/job-specification/affinity.html # # affinity { - # attribute specifies the name of a node attribute or metadata - # attribute = "${node.datacenter}" - # - # value specifies the desired attribute value. In this example Nomad - # will prefer placement in the "us-west1" datacenter. - # value = "us-west1" + # attribute specifies the name of a node attribute or metadata + # attribute = "${node.datacenter}" - # weight can be used to indicate relative preference - # when the job has more than one affinity. It defaults to 50 if not set. - # weight = 100 - # } + # value specifies the desired attribute value. In this example Nomad + # will prefer placement in the "us-west1" datacenter. + # value = "us-west1" + + # weight can be used to indicate relative preference + # when the job has more than one affinity. It defaults to 50 if not set. + # weight = 100 + # } # The "spread" stanza allows operators to increase the failure tolerance of # their applications by specifying a node attribute that allocations @@ -372,19 +372,19 @@ job "example" { # https://www.nomadproject.io/docs/job-specification/spread.html # # spread { - # attribute specifies the name of a node attribute or metadata - # attribute = "${node.datacenter}" - # - # targets can be used to define desired percentages of allocations - # for each targeted attribute value. - # - # target "us-east1" { - # percent = 60 - # } - # target "us-west1" { - # percent = 40 - # } - # } + # attribute specifies the name of a node attribute or metadata + # attribute = "${node.datacenter}" + + # targets can be used to define desired percentages of allocations + # for each targeted attribute value. + # + # target "us-east1" { + # percent = 60 + # } + # target "us-west1" { + # percent = 40 + # } + # } # The "task" stanza creates an individual unit of work, such as a Docker # container, web application, or batch processing.