diff options
author | Valery Piashchynski <[email protected]> | 2021-04-28 16:43:59 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-04-28 16:43:59 +0300 |
commit | b789df7dcc9268f98f2bacfb40f753b10d521e4f (patch) | |
tree | 126b0fd8271f27e77f9107906bb0e6713a49d6ab /pkg | |
parent | 30c25f17fa7d6386e33a4894c812f7ca5db990ad (diff) |
- Update CHANGELOG
- Add tests for the etags functionality
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'pkg')
-rwxr-xr-x | pkg/worker_watcher/worker_watcher.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/worker_watcher/worker_watcher.go b/pkg/worker_watcher/worker_watcher.go index a6dfe43e..5aec4ee6 100755 --- a/pkg/worker_watcher/worker_watcher.go +++ b/pkg/worker_watcher/worker_watcher.go @@ -153,7 +153,7 @@ func (ww *workerWatcher) Allocate() error { return nil } -// Remove +// Remove worker func (ww *workerWatcher) Remove(wb worker.BaseProcess) { ww.Lock() defer ww.Unlock() @@ -172,7 +172,7 @@ func (ww *workerWatcher) Remove(wb worker.BaseProcess) { } } -// O(1) operation +// Push O(1) operation func (ww *workerWatcher) Push(w worker.BaseProcess) { if w.State().Value() != worker.StateReady { _ = w.Kill() |