Skip to content

Commit

Permalink
fix: invalid JobsDB.backup.pathPrefix configuration (#3921)
Browse files Browse the repository at this point in the history
fix: change jobsdb pathPrefix config
  • Loading branch information
Sidddddarth authored Sep 28, 2023
1 parent 69be777 commit a747653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jobsdb/jobsdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -945,7 +945,7 @@ func (jd *Handle) loadConfig() {
jd.conf.backup.backupCheckSleepDuration = jd.config.GetReloadableDurationVar(
5, time.Second, []string{"JobsDB.backupCheckSleepDuration", "JobsDB.backupCheckSleepDurationIns"}...,
)
jd.conf.backup.PathPrefix = jd.config.GetString(
jd.conf.backup.PathPrefix = jd.config.GetStringVar(
jd.tablePrefix, fmt.Sprintf("JobsDB.backup.%v.pathPrefix", jd.tablePrefix),
)

Expand Down

0 comments on commit a747653

Please sign in to comment.