[#1168] shard: Set Disabled as default mode for components

Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
This commit is contained in:
Anton Nikiforov 2024-06-10 17:48:05 +03:00 committed by Evgenii Stratonikov
parent 069c1559cc
commit b9fcaad21f
4 changed files with 4 additions and 1 deletions

View file

@ -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 {