Cleanup: remove unused code
This commit is contained in:
parent
4f184a546f
commit
e539d04320
@ -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
|
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user