From 418b5539208b5255c179ba779bb3b8e8e9876973 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Wed, 19 Jan 2022 15:20:14 +0300 Subject: [PATCH] [#1094] shard: remove TODO for shard mode description It was added back in 2fb379b7 when we had many shard modes. Now we have only two and comments for constants are rather descriptive. Signed-off-by: Evgenii Stratonikov --- pkg/local_object_storage/shard/mode.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/local_object_storage/shard/mode.go b/pkg/local_object_storage/shard/mode.go index c43e2b22..9a459eec 100644 --- a/pkg/local_object_storage/shard/mode.go +++ b/pkg/local_object_storage/shard/mode.go @@ -13,8 +13,6 @@ type Mode uint32 // that changes shard's memory due to the "read-only" shard's mode. var ErrReadOnlyMode = errors.New("shard is in read-only mode") -// TODO: more detailed description of shard modes. - const ( // ModeReadWrite is a Mode value for shard that is available // for read and write operations. Default shard mode.