Skip to content

Commit 12497ef

Browse files
authored
Merge pull request #2758 from warjiang/fix/typo-error
fix: typo err and grammar err
2 parents 02c8d65 + 56e64f4 commit 12497ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/docker_client.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ func (c *dockerClient) resolveRequestURL(path string) (*url.URL, error) {
475475
}
476476

477477
// Checks if the auth headers in the response contain an indication of a failed
478-
// authorizdation because of an "insufficient_scope" error. If that's the case,
478+
// authorization because of an "insufficient_scope" error. If that's the case,
479479
// returns the required scope to be used for fetching a new token.
480480
func needsRetryWithUpdatedScope(res *http.Response) (bool, *authScope) {
481481
if res.StatusCode == http.StatusUnauthorized {

0 commit comments

Comments
 (0)