From e14e5d14b104cf0cd309c2ee516d3a049f4d31ab Mon Sep 17 00:00:00 2001 From: Stephen J Day Date: Thu, 11 Dec 2014 22:02:17 -0800 Subject: [PATCH] Correct documentation errors in urls package --- api/urls/urls.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/urls/urls.go b/api/urls/urls.go index 7bfd6335f..86306c67b 100644 --- a/api/urls/urls.go +++ b/api/urls/urls.go @@ -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)