Fixes error codes in the API spec template

Uses UPPER_UNDERSCORE_CASE instead of the nice error message format
added in #911

Signed-off-by: Brian Bland <brian.bland@docker.com>
This commit is contained in:
Brian Bland 2016-01-13 11:52:17 -08:00
parent 39ff320b82
commit ac03070245

View File

@ -1149,7 +1149,7 @@ The error codes that may be included in the response body are enumerated below:
|Code|Message|Description| |Code|Message|Description|
|----|-------|-----------| |----|-------|-----------|
{{range $err := .ErrorCodes}}| `{{$err}}` | {{$err.Descriptor.Message}} | {{$err.Descriptor.Description|removenewlines}} | {{range $err := .ErrorCodes}}| `{{$err.Descriptor.Value}}` | {{$err.Descriptor.Message}} | {{$err.Descriptor.Description|removenewlines}} |
{{end}} {{end}}
{{end}}{{end}}{{end}}{{end}}{{end}}{{end}} {{end}}{{end}}{{end}}{{end}}{{end}}{{end}}