Explorar el Código

Merge pull request #9990 from hqhq/fix_minor_type

registry: fix minor typo
Doug Davis hace 10 años
padre
commit
cb4ea2c778
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      registry/session.go

+ 1 - 1
registry/session.go

@@ -584,7 +584,7 @@ func (r *Session) SearchRepositories(term string) (*SearchResults, error) {
 	}
 	}
 	defer res.Body.Close()
 	defer res.Body.Close()
 	if res.StatusCode != 200 {
 	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)
 	result := new(SearchResults)
 	err = json.NewDecoder(res.Body).Decode(result)
 	err = json.NewDecoder(res.Body).Decode(result)