From e3151f04fc73437b1bc0e95682b77c02392c31ce Mon Sep 17 00:00:00 2001 From: Nick Ethier Date: Thu, 3 May 2018 15:34:56 -0400 Subject: [PATCH 1/3] command: remove all comments from short init jobspec --- command/job_init.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/command/job_init.go b/command/job_init.go index 1e0a2df06..4f900479f 100644 --- a/command/job_init.go +++ b/command/job_init.go @@ -110,8 +110,8 @@ job "example" { } resources { - cpu = 500 # 500 MHz - memory = 256 # 256MB + cpu = 500 + memory = 256 network { mbits = 10 port "db" {} From 7f37b4c7f65c96f66444221f249bf83747719aeb Mon Sep 17 00:00:00 2001 From: Nick Ethier Date: Thu, 3 May 2018 15:35:26 -0400 Subject: [PATCH 2/3] changelog: add line for init command -short option --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 062fd2d77..e90417221 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 0.8.4 (Unreleased) + +IMPROVEMENTS: + * command: add -short option to init command that emits a minimal jobspec + ## 0.8.3 (April 27, 2018) BUG FIXES: From e67e6d900f806e159f0de8fb262925b62bd7593a Mon Sep 17 00:00:00 2001 From: Nick Ethier Date: Thu, 3 May 2018 16:00:20 -0400 Subject: [PATCH 3/3] changelogfmt --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e90417221..d2f25f3f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,8 @@ ## 0.8.4 (Unreleased) IMPROVEMENTS: - * command: add -short option to init command that emits a minimal jobspec + * command: add -short option to init command that emits a minimal + jobspec [[GH-4239](https://github.com/hashicorp/nomad/issues/4239)] ## 0.8.3 (April 27, 2018)