[#176] blobstor: Fix missing mutex in constructor

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2020-11-18 17:46:46 +03:00 committed by Alex Vanin
parent b1718a60e4
commit 2d917a024f

View file

@ -55,6 +55,7 @@ func New(opts ...Option) *BlobStor {
return &BlobStor{
cfg: c,
mtx: new(sync.RWMutex),
}
}