Merge branch '15370-loopback-dispatchcloud'
[arvados.git] / lib / dispatchcloud / worker / throttle.go
index 5374afb44fccb0408e26039a8c53b1bfa1f8481d..defbf91ff38390d22062aa03d1f3f34149428e27 100644 (file)
@@ -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