[#859] config: rename refill_metabase to resync_metabase

This flag enables metabase content synchronization with blobstor on
start.

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Evgenii Stratonikov 2021-10-18 17:03:09 +03:00 committed by Alex Vanin
parent e4087893a1
commit cbf8ca12b0
4 changed files with 8 additions and 8 deletions

View file

@ -59,12 +59,12 @@ func (x *Config) GC() *gcconfig.Config {
)
}
// RefillMetabase returns value of "refill_metabase" config parameter.
// RefillMetabase returns value of "resync_metabase" config parameter.
//
// Returns false if value is not a valid bool.
func (x *Config) RefillMetabase() bool {
return config.BoolSafe(
(*config.Config)(x),
"refill_metabase",
"resync_metabase",
)
}