mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
builder-next: use constants for http status codes
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
3b84875216
commit
984d5bc30c
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ func (h *reqBodyHandler) RoundTrip(req *http.Request) (*http.Response, error) {
|
|||
|
||||
resp := &http.Response{
|
||||
Status: "200 OK",
|
||||
StatusCode: 200,
|
||||
StatusCode: http.StatusOK,
|
||||
Body: rc,
|
||||
ContentLength: -1,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue