From c384fbbf4e501c144e28c7f6071d5366736a0c3f Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Wed, 10 Feb 2021 10:26:27 +0300 Subject: [PATCH] [#316] cmd/ir: Set default value of path to NeoFS LOCODE database Make `locode.db.path` to be empty string by default in IR configuration. Signed-off-by: Leonard Lyubich --- cmd/neofs-ir/defaults.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/neofs-ir/defaults.go b/cmd/neofs-ir/defaults.go index 13e9c4f52..daf135093 100644 --- a/cmd/neofs-ir/defaults.go +++ b/cmd/neofs-ir/defaults.go @@ -108,4 +108,6 @@ func defaultConfiguration(cfg *viper.Viper) { cfg.SetDefault("audit.por.pool_size", "10") cfg.SetDefault("settlement.basic_income_rate", 0) + + cfg.SetDefault("locode.db.path", "") }