Skip to content

Commit 523791c

Browse files
authored
chore: make function comment match function name (distribution#4622)
2 parents e028a30 + a6ce1a7 commit 523791c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

registry/storage/blobwriter_nonresumable.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"context"
88
)
99

10-
// resumeHashAt is a noop when resumable digest support is disabled.
10+
// resumeDigest is a noop when resumable digest support is disabled.
1111
func (bw *blobWriter) resumeDigest(ctx context.Context) error {
1212
return errResumableDigestNotAvailable
1313
}

registry/storage/driver/azure/retry_notification_policy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func withTimeoutNotification(ctx context.Context, timeout *bool) context.Context
3535
return context.WithValue(ctx, timeoutNotifyContextKey, timeout)
3636
}
3737

38-
// withRetryNotifier returns a context that contains a retry notifier. The
38+
// withRetryNotification returns a context that contains a retry notifier. The
3939
// retryNotificationPolicy will then invoke the callback when a retry happens
4040
func withRetryNotification(ctx context.Context, r retryNotificationReceiver) context.Context { // nolint: unused // may become useful at some point
4141
return context.WithValue(ctx, retryNotifyContextKey, r)

registry/storage/driver/middleware/cloudfront/middleware.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ type cloudFrontStorageMiddleware struct {
4040

4141
var _ storagedriver.StorageDriver = &cloudFrontStorageMiddleware{}
4242

43-
// newCloudFrontLayerHandler constructs and returns a new CloudFront
43+
// newCloudFrontStorageMiddleware constructs and returns a new CloudFront
4444
// LayerHandler implementation.
4545
//
4646
// Required options:

0 commit comments

Comments
 (0)