Skip to content

Commit 1cbe1ea

Browse files
committed
chore: add func comment
1 parent 96e3b85 commit 1cbe1ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

client/oci.go

+1
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,7 @@ func (r *ociRegistry) getImageConfig(ctx context.Context, creds credentials, nam
634634

635635
var errOCIDownloadNotSupported = errors.New("not supported")
636636

637+
// newOCIRegistry returns *ociRegistry, credentials for that registry, and the (optionally) remapped image name
637638
func (c *Client) newOCIRegistry(ctx context.Context, name string, accessTypes []accessType) (*ociRegistry, *bearerTokenCredentials, string, error) {
638639
// Attempt to obtain (direct) OCI registry auth token
639640
originalName := name

0 commit comments

Comments
 (0)