forked from TrueCloudLab/frostfs-node
[#1168] shard: Set Disabled
as default mode
for components
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
This commit is contained in:
parent
069c1559cc
commit
b9fcaad21f
4 changed files with 4 additions and 1 deletions
|
@ -54,6 +54,7 @@ func initConfig(c *cfg) {
|
|||
// New creates, initializes and returns new BlobStor instance.
|
||||
func New(opts ...Option) *BlobStor {
|
||||
bs := new(BlobStor)
|
||||
bs.mode = mode.Disabled
|
||||
initConfig(&bs.cfg)
|
||||
|
||||
for i := range opts {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue