Skip to content

Commit

Permalink
chore: Comment should with an optional leading article
Browse files Browse the repository at this point in the history
Signed-off-by: guoguangwu <[email protected]>
  • Loading branch information
testwill committed Jul 24, 2023
1 parent fe50e18 commit b582fbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions download/oci_download.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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() {
}

Expand Down

0 comments on commit b582fbe

Please sign in to comment.