[#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:
parent
e4087893a1
commit
cbf8ca12b0
4 changed files with 8 additions and 8 deletions
|
@ -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",
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue