Remove debugging, add newline to website docs

This commit is contained in:
Jake Champlin 2016-06-21 16:49:12 -04:00
parent 84ad9925d7
commit 1c2a5ad691
No known key found for this signature in database
GPG Key ID: DC31F41958EF4AC2
2 changed files with 1 additions and 3 deletions

View File

@ -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)
}
}

View File

@ -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"
```
```