Remove debugging, add newline to website docs
This commit is contained in:
parent
84ad9925d7
commit
1c2a5ad691
|
@ -1,7 +1,6 @@
|
||||||
package command
|
package command
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
|
@ -181,7 +180,6 @@ job "job1" {
|
||||||
cmd := &RunCommand{Meta: Meta{Ui: ui}}
|
cmd := &RunCommand{Meta: Meta{Ui: ui}}
|
||||||
|
|
||||||
if code := cmd.Run([]string{"-"}); code != 0 {
|
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)
|
t.Fatalf("expected exit code 0, got: %d", code)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -121,4 +121,4 @@ $ cat job1.nomad | nomad run -
|
||||||
Allocation "5e0b39f0" status changed: "pending" -> "running"
|
Allocation "5e0b39f0" status changed: "pending" -> "running"
|
||||||
Evaluation status changed: "pending" -> "complete"
|
Evaluation status changed: "pending" -> "complete"
|
||||||
==> Evaluation "52dee78a" finished with status "complete"
|
==> Evaluation "52dee78a" finished with status "complete"
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue