From a048a4c8d5fbdf0aaf33374192e8915a0ad3350e Mon Sep 17 00:00:00 2001 From: Anton Tiurin Date: Wed, 17 Feb 2016 13:53:43 +0300 Subject: [PATCH] Fix description of StorageDriver.WriteStream Offset can be more than CurrentSize as long as this case is checked by DriverSuite.testContinueStreamAppend. Signed-off-by: Anton Tiurin --- registry/storage/driver/storagedriver.go | 1 - 1 file changed, 1 deletion(-) diff --git a/registry/storage/driver/storagedriver.go b/registry/storage/driver/storagedriver.go index d5e6fe9f0..603020f13 100644 --- a/registry/storage/driver/storagedriver.go +++ b/registry/storage/driver/storagedriver.go @@ -57,7 +57,6 @@ type StorageDriver interface { // WriteStream stores the contents of the provided io.ReadCloser at a // location designated by the given path. // May be used to resume writing a stream by providing a nonzero offset. - // The offset must be no larger than the CurrentSize for this path. WriteStream(ctx context.Context, path string, offset int64, reader io.Reader) (nn int64, err error) // Stat retrieves the FileInfo for the given path, including the current