diff --git a/pkg/local_object_storage/shard/mode.go b/pkg/local_object_storage/shard/mode.go index 0d38a6c5c4..2cd070137e 100644 --- a/pkg/local_object_storage/shard/mode.go +++ b/pkg/local_object_storage/shard/mode.go @@ -21,10 +21,6 @@ func (s *Shard) SetMode(m mode.Mode) error { s.m.Lock() defer s.m.Unlock() - if s.info.Mode == m { - return nil - } - components := []interface{ SetMode(mode.Mode) error }{ s.metaBase, s.blobStor, }