Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fopina committed Sep 16, 2024
1 parent 5411167 commit 9087dc3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dkron/job.go
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,7 @@ func (j *Job) scheduleHash() string {
default:
partHash %= 60
}
parts[index] = strings.ReplaceAll(part, HashSymbol, strconv.Itoa(partHash))
parts[index] = strings.ReplaceAll(part, "H", strconv.Itoa(partHash))
parts[index] = strings.ReplaceAll(strings.ReplaceAll(part, HashSymbol, strconv.Itoa(partHash)), "H", strconv.Itoa(partHash))
}

partIndex++
Expand Down

0 comments on commit 9087dc3

Please sign in to comment.