X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/a5fef23f2863cd0183ff596f4579110e2ddb3b3d..b38ee1ddd208d40c236361536639c811787aaea2:/lib/dispatchcloud/worker/throttle.go diff --git a/lib/dispatchcloud/worker/throttle.go b/lib/dispatchcloud/worker/throttle.go index 5374afb44f..defbf91ff3 100644 --- a/lib/dispatchcloud/worker/throttle.go +++ b/lib/dispatchcloud/worker/throttle.go @@ -61,12 +61,6 @@ func (thr *throttle) Error() error { return thr.err } -func (thr *throttle) ResetError() { - thr.mtx.Lock() - defer thr.mtx.Unlock() - thr.err = nil -} - type throttledInstanceSet struct { cloud.InstanceSet throttleCreate throttle