Skip to content

Commit

Permalink
fix(plc4go/spi): fix worker logging on wrong logger
Browse files Browse the repository at this point in the history
  • Loading branch information
sruehl committed Jun 19, 2023
1 parent 7089ac3 commit dcf630a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plc4go/spi/pool/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func (w *worker) stop(interrupt bool) {
w.stateChange.Lock()
defer w.stateChange.Unlock()
if !w.running.Load() {
log.Warn().Msg("Worker not running")
w.log.Warn().Msg("Worker not running")
return
}
w.shutdown.Store(true)
Expand Down

0 comments on commit dcf630a

Please sign in to comment.