From 1c2a5ad6917163b4a83f421b2584f1589ae7b158 Mon Sep 17 00:00:00 2001 From: Jake Champlin Date: Tue, 21 Jun 2016 16:49:12 -0400 Subject: [PATCH] Remove debugging, add newline to website docs --- command/run_test.go | 2 -- website/source/docs/commands/run.html.md.erb | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/command/run_test.go b/command/run_test.go index b6abc62f4..b7b7911f7 100644 --- a/command/run_test.go +++ b/command/run_test.go @@ -1,7 +1,6 @@ package command import ( - "fmt" "io/ioutil" "os" "strings" @@ -181,7 +180,6 @@ job "job1" { cmd := &RunCommand{Meta: Meta{Ui: ui}} if code := cmd.Run([]string{"-"}); code != 0 { - os.Stdout.Write([]byte(fmt.Sprintf("####OUTPUT\n%s\n\n", ui.OutputWriter.String()))) t.Fatalf("expected exit code 0, got: %d", code) } } diff --git a/website/source/docs/commands/run.html.md.erb b/website/source/docs/commands/run.html.md.erb index acfcaf0d6..9e8a97848 100644 --- a/website/source/docs/commands/run.html.md.erb +++ b/website/source/docs/commands/run.html.md.erb @@ -121,4 +121,4 @@ $ cat job1.nomad | nomad run - Allocation "5e0b39f0" status changed: "pending" -> "running" Evaluation status changed: "pending" -> "complete" ==> Evaluation "52dee78a" finished with status "complete" -``` \ No newline at end of file +```