[#1778] neofs-node: Fix blobovnicza config type
Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
This commit is contained in:
parent
9da5d784cb
commit
60b2930417
2 changed files with 2 additions and 2 deletions
|
@ -443,7 +443,7 @@ func initShardOptions(c *cfg) {
|
||||||
var st []blobstor.SubStorage
|
var st []blobstor.SubStorage
|
||||||
for i := range storages {
|
for i := range storages {
|
||||||
switch storages[i].Type() {
|
switch storages[i].Type() {
|
||||||
case "blobovniczas":
|
case "blobovnicza":
|
||||||
sub := blobovniczaconfig.From((*config.Config)(storages[i]))
|
sub := blobovniczaconfig.From((*config.Config)(storages[i]))
|
||||||
lim := sc.SmallSizeLimit()
|
lim := sc.SmallSizeLimit()
|
||||||
st = append(st, blobstor.SubStorage{
|
st = append(st, blobstor.SubStorage{
|
||||||
|
|
|
@ -231,7 +231,7 @@ func u64FromHexString(str string) uint64 {
|
||||||
|
|
||||||
// Type implements common.Storage.
|
// Type implements common.Storage.
|
||||||
func (b *Blobovniczas) Type() string {
|
func (b *Blobovniczas) Type() string {
|
||||||
return "blobovniczas"
|
return "blobovnicza"
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetCompressor implements common.Storage.
|
// SetCompressor implements common.Storage.
|
||||||
|
|
Loading…
Reference in a new issue