From b582fbe430a7eac9d8d620a3c700e4b7514627bc Mon Sep 17 00:00:00 2001 From: guoguangwu Date: Mon, 24 Jul 2023 15:59:29 +0800 Subject: [PATCH] chore: Comment should with an optional leading article Signed-off-by: guoguangwu --- download/oci_download.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/download/oci_download.go b/download/oci_download.go index b90a22ea400..dd0abc4d3f8 100644 --- a/download/oci_download.go +++ b/download/oci_download.go @@ -49,7 +49,7 @@ type OCIDownloader struct { etag string } -// New returns a new Downloader that can be started. +// NewOCI New returns a new Downloader that can be started. func NewOCI(config Config, client rest.Client, path, storePath string) *OCIDownloader { localstore, err := oci.New(storePath) if err != nil { @@ -98,7 +98,7 @@ func (d *OCIDownloader) WithBundlePersistence(persist bool) *OCIDownloader { return d } -// TODO: remove method ClearCache is deprecated. Use SetCache instead. +// ClearCache TODO: remove method ClearCache is deprecated. Use SetCache instead. func (d *OCIDownloader) ClearCache() { }