From 110abf7d3d3b8b2ba401a9bd3d75e69a5c504656 Mon Sep 17 00:00:00 2001 From: reshke Date: Tue, 5 Nov 2024 08:49:32 +0000 Subject: [PATCH] embed default for vacuum backup check feature --- config/instance.go | 1 + 1 file changed, 1 insertion(+) diff --git a/config/instance.go b/config/instance.go index 7164e50..05afefb 100644 --- a/config/instance.go +++ b/config/instance.go @@ -48,6 +48,7 @@ func InstanceConfig() *Instance { } func initInstanceConfig(file *os.File, cfgInstance *Instance) error { + cfgInstance.VacuumCnf.CheckBackup = true if strings.HasSuffix(file.Name(), ".toml") { _, err := toml.NewDecoder(file).Decode(cfgInstance) return err