mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #9990 from hqhq/fix_minor_type
registry: fix minor typo
This commit is contained in:
commit
cb4ea2c778
1 changed files with 1 additions and 1 deletions
|
@ -584,7 +584,7 @@ func (r *Session) SearchRepositories(term string) (*SearchResults, error) {
|
|||
}
|
||||
defer res.Body.Close()
|
||||
if res.StatusCode != 200 {
|
||||
return nil, utils.NewHTTPRequestError(fmt.Sprintf("Unexepected status code %d", res.StatusCode), res)
|
||||
return nil, utils.NewHTTPRequestError(fmt.Sprintf("Unexpected status code %d", res.StatusCode), res)
|
||||
}
|
||||
result := new(SearchResults)
|
||||
err = json.NewDecoder(res.Body).Decode(result)
|
||||
|
|
Loading…
Add table
Reference in a new issue