Skip to content

Commit

Permalink
embed default for vacuum backup check feature
Browse files Browse the repository at this point in the history
  • Loading branch information
reshke committed Nov 5, 2024
1 parent 269b67f commit 110abf7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 110abf7

Please sign in to comment.