mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #13354 from jacobat/comment-fix
Fix wording in comment
This commit is contained in:
commit
b0315e4472
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ func (r *Session) V2RegistryEndpoint(index *IndexInfo) (ep *Endpoint, err error)
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetV2Authorization gets the authorization needed to the given image
|
// GetV2Authorization gets the authorization needed to the given image
|
||||||
// If readonly access is requested, then only the authorization may
|
// If readonly access is requested, then the authorization may
|
||||||
// only be used for Get operations.
|
// only be used for Get operations.
|
||||||
func (r *Session) GetV2Authorization(ep *Endpoint, imageName string, readOnly bool) (auth *RequestAuthorization, err error) {
|
func (r *Session) GetV2Authorization(ep *Endpoint, imageName string, readOnly bool) (auth *RequestAuthorization, err error) {
|
||||||
scopes := []string{"pull"}
|
scopes := []string{"pull"}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue