Commit caa14b19 authored by Adam Reese's avatar Adam Reese

fix(cli): use go1.5 templates

circleci only supports go1.5
parent 4b3d3cfa
......@@ -30,13 +30,9 @@ var errMissingDeploymentArg = errors.New("First argument, deployment name, is re
const defaultShowFormat = `Name: {{.Name}}
Status: {{.State.Status}}
{{- with .State.Errors}}
Errors:
{{- range .}}
{{.}}
{{- end}}
{{- end}}
`
{{with .State.Errors}}Errors:
{{range .}} {{.}}{{end}}
{{end}}`
func init() {
addCommands(deploymentCommands())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment