Skip to content

Commit

Permalink
Fix (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
reshke authored Nov 13, 2023
1 parent c4bbe44 commit b937f41
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const (
DefaultStorageConcurrency = 100
)

func EmbeddDafults(cfgInstance *Instance) {
func EmbedDefaults(cfgInstance *Instance) {
if cfgInstance.StorageCnf.StorageConcurrency == 0 {
cfgInstance.StorageCnf.StorageConcurrency = DefaultStorageConcurrency
}
Expand Down Expand Up @@ -91,6 +91,7 @@ func LoadInstanceConfig(cfgPath string) error {
}

cfg.ReadSystemdSocketPath()
EmbedDefaults(&cfg)

log.Println("Running config:", string(configBytes))
cfgInstance = cfg
Expand Down

0 comments on commit b937f41

Please sign in to comment.