forked from TrueCloudLab/frostfs-node
[#176] blobstor: Fix missing mutex in constructor
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
b1718a60e4
commit
2d917a024f
1 changed files with 1 additions and 0 deletions
|
@ -55,6 +55,7 @@ func New(opts ...Option) *BlobStor {
|
||||||
|
|
||||||
return &BlobStor{
|
return &BlobStor{
|
||||||
cfg: c,
|
cfg: c,
|
||||||
|
mtx: new(sync.RWMutex),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue