Cleanup: remove unused code

This commit is contained in:
Sybren A. Stüvel 2022-02-17 10:49:43 +01:00
parent 4f184a546f
commit e539d04320

View File

@ -82,9 +82,3 @@ func (w *Worker) ackStateChange(ctx context.Context, state api.WorkerStatus) {
return return
} }
} }
func (w *Worker) isState(state api.WorkerStatus) bool {
w.stateMutex.Lock()
defer w.stateMutex.Unlock()
return w.state == state
}