chore: make function comment match function name (#4622)

This commit is contained in:
Milos Gajdos 2025-04-13 07:10:22 -07:00 committed by GitHub
commit 523791cb5f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ import (
"context"
)
// resumeHashAt is a noop when resumable digest support is disabled.
// resumeDigest is a noop when resumable digest support is disabled.
func (bw *blobWriter) resumeDigest(ctx context.Context) error {
return errResumableDigestNotAvailable
}

View File

@ -35,7 +35,7 @@ func withTimeoutNotification(ctx context.Context, timeout *bool) context.Context
return context.WithValue(ctx, timeoutNotifyContextKey, timeout)
}
// withRetryNotifier returns a context that contains a retry notifier. The
// withRetryNotification returns a context that contains a retry notifier. The
// retryNotificationPolicy will then invoke the callback when a retry happens
func withRetryNotification(ctx context.Context, r retryNotificationReceiver) context.Context { // nolint: unused // may become useful at some point
return context.WithValue(ctx, retryNotifyContextKey, r)

View File

@ -40,7 +40,7 @@ type cloudFrontStorageMiddleware struct {
var _ storagedriver.StorageDriver = &cloudFrontStorageMiddleware{}
// newCloudFrontLayerHandler constructs and returns a new CloudFront
// newCloudFrontStorageMiddleware constructs and returns a new CloudFront
// LayerHandler implementation.
//
// Required options: