Upstream valeriansaliou/sonic state of the touched files before 31b0150415
This commit is contained in:
1 parent
51a00dd099
commit
322b72ed1f
1 file changed
-6
@@ -20,12 +20,6 @@ impl FstStorePool {
|
|||||||
// Create backup directory (full path)
|
// Create backup directory (full path)
|
||||||
fs::create_dir_all(path)?;
|
fs::create_dir_all(path)?;
|
||||||
|
|
||||||
// NOTE: The FST store directory gets created when the first FST is
|
|
||||||
// consolidated, so there is nothing to back up until then.
|
|
||||||
if !self.fst_store_config.path.exists() {
|
|
||||||
return Ok(());
|
|
||||||
}
|
|
||||||
|
|
||||||
// Proceed dump action (backup)
|
// Proceed dump action (backup)
|
||||||
self.dump_action(
|
self.dump_action(
|
||||||
"backup",
|
"backup",
|
||||||
|
|||||||
Reference in new issue
Block a user