From 3f3e61e2998454a6315ea32f55a2a52ad8d227f9 Mon Sep 17 00:00:00 2001 From: Milos Gajdos Date: Wed, 13 Dec 2023 14:56:06 +0000 Subject: [PATCH] fix: update incorrect godoc comment for (writer).Writer() Signed-off-by: Milos Gajdos --- registry/storage/driver/s3-aws/s3.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry/storage/driver/s3-aws/s3.go b/registry/storage/driver/s3-aws/s3.go index 168d3a3d..7dde1f72 100644 --- a/registry/storage/driver/s3-aws/s3.go +++ b/registry/storage/driver/s3-aws/s3.go @@ -682,7 +682,7 @@ func (d *driver) Reader(ctx context.Context, path string, offset int64) (io.Read // at the location designated by "path" after the call to Commit. // It only allows appending to paths with zero size committed content, // in which the existing content is overridden with the new content. -// It returns storagedriver.ErrUnsupportedMethod when appending to paths +// It returns storagedriver.Error when appending to paths // with non-zero committed content. func (d *driver) Writer(ctx context.Context, path string, appendMode bool) (storagedriver.FileWriter, error) { key := d.s3Path(path)