From 2513dd1f9691b9926d8b36dfa1d47648ee64b8fb Mon Sep 17 00:00:00 2001 From: bin liu Date: Wed, 30 Aug 2023 22:36:14 +0800 Subject: [PATCH] fix typos in registry/storage/paths.go Signed-off-by: bin liu --- registry/storage/paths.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/registry/storage/paths.go b/registry/storage/paths.go index dab394240..6758bf7ed 100644 --- a/registry/storage/paths.go +++ b/registry/storage/paths.go @@ -24,7 +24,7 @@ const ( // The path layout in the storage backend is roughly as follows: // // /v2 -// ├── blob +// ├── blobs // │ └── // │ └── // └── repositories @@ -108,7 +108,7 @@ const ( // blobsPathSpec: /v2/blobs/ // blobPathSpec: /v2/blobs/// // blobDataPathSpec: /v2/blobs////data -// blobMediaTypePathSpec: /v2/blobs////data +// blobMediaTypePathSpec: /v2/blobs////data // // For more information on the semantic meaning of each path and their // contents, please see the path spec documentation. @@ -346,7 +346,7 @@ type layersPathSpec struct { func (layersPathSpec) pathSpec() {} -// blobLinkPathSpec specifies a path for a blob link, which is a file with a +// layerLinkPathSpec specifies a path for a blob link, which is a file with a // blob id. The blob link will contain a content addressable blob id reference // into the blob store. The format of the contents is as follows: // @@ -403,7 +403,7 @@ type uploadDataPathSpec struct { func (uploadDataPathSpec) pathSpec() {} -// uploadDataPathSpec defines the path parameters for the file that stores the +// uploadStartedAtPathSpec defines the path parameters for the file that stores the // start time of an uploads. If it is missing, the upload is considered // unknown. Admittedly, the presence of this file is an ugly hack to make sure // we have a way to cleanup old or stalled uploads that doesn't rely on driver