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 ...@@ -30,13 +30,9 @@ var errMissingDeploymentArg = errors.New("First argument, deployment name, is re
const defaultShowFormat = `Name: {{.Name}} const defaultShowFormat = `Name: {{.Name}}
Status: {{.State.Status}} Status: {{.State.Status}}
{{- with .State.Errors}} {{with .State.Errors}}Errors:
Errors: {{range .}} {{.}}{{end}}
{{- range .}} {{end}}`
{{.}}
{{- end}}
{{- end}}
`
func init() { func init() {
addCommands(deploymentCommands()) 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