Correct documentation errors in urls package

This commit is contained in:
Stephen J Day 2014-12-11 22:02:17 -08:00
parent 83f882b427
commit e14e5d14b1
1 changed files with 3 additions and 3 deletions

View File

@ -87,7 +87,7 @@ func (ub *URLBuilder) BuildManifestURL(name, tag string) (string, error) {
return manifestURL.String(), nil
}
// BuildLayerURL constructs the url for the blob identified by name and dgst.
// BuildBlobURL constructs the url for the blob identified by name and dgst.
func (ub *URLBuilder) BuildBlobURL(name string, dgst digest.Digest) (string, error) {
route := ub.cloneRoute(RouteNameBlob)
@ -99,8 +99,8 @@ func (ub *URLBuilder) BuildBlobURL(name string, dgst digest.Digest) (string, err
return layerURL.String(), nil
}
// BuildBlobURL constructs a url to begin a blob upload in the repository
// identified by name.
// BuildBlobUploadURL constructs a url to begin a blob upload in the
// repository identified by name.
func (ub *URLBuilder) BuildBlobUploadURL(name string) (string, error) {
route := ub.cloneRoute(RouteNameBlobUpload)