fix(cli): use go1.5 templates

circleci only supports go1.5
pull/442/head
Adam Reese 10 years ago
parent 4b3d3cfa56
commit caa14b19e0

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

Loading…
Cancel
Save