We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc6be6e commit bfc8e1bCopy full SHA for bfc8e1b
dispatcher.go
@@ -182,7 +182,7 @@ func (d *Dispatcher) WaitUntilIdle() {
182
}
183
184
func (d *Dispatcher) log(format string, a ...interface{}) (n int, err error) {
185
- return d.dispatchLogFn(format, a)
+ return d.dispatchLogFn(format, a...)
186
187
188
// pulls a job from the job queue and adds it to the worker's job queue - a worker will grab it in the worker logic
worker.go
@@ -111,7 +111,7 @@ func (w Worker) stop() {
111
112
func (w Worker) log(format string, a ...interface{}) (n int, err error) {
113
if w.logFn != nil {
114
- return w.logFn(format, a)
+ return w.logFn(format, a...)
115
116
117
return 0, nil
0 commit comments