Przeglądaj źródła

Merge pull request #13354 from jacobat/comment-fix

Fix wording in comment
Jessie Frazelle 10 lat temu
rodzic
commit
b0315e4472
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      registry/session_v2.go

+ 1 - 1
registry/session_v2.go

@@ -49,7 +49,7 @@ func (r *Session) V2RegistryEndpoint(index *IndexInfo) (ep *Endpoint, err error)
 }
 
 // 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.
 func (r *Session) GetV2Authorization(ep *Endpoint, imageName string, readOnly bool) (auth *RequestAuthorization, err error) {
 	scopes := []string{"pull"}