summaryrefslogtreecommitdiff
path: root/pkg/worker_watcher/container/vec.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-07-10 16:14:37 +0300
committerValery Piashchynski <[email protected]>2021-07-10 16:14:37 +0300
commitcb2665d93ad7abe1ab30508ff0e2bd4d0bc379ea (patch)
treed434861d00919985e9335c79336695cd3085bdcb /pkg/worker_watcher/container/vec.go
parent453eb10b436925ef91b1206e795e581e6293d132 (diff)
Move interfaces to its consumers
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'pkg/worker_watcher/container/vec.go')
-rw-r--r--pkg/worker_watcher/container/vec.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/worker_watcher/container/vec.go b/pkg/worker_watcher/container/vec.go
index b9150c43..24b5fa6d 100644
--- a/pkg/worker_watcher/container/vec.go
+++ b/pkg/worker_watcher/container/vec.go
@@ -13,7 +13,7 @@ type Vec struct {
workers chan worker.BaseProcess
}
-func NewVector(initialNumOfWorkers uint64) Vector {
+func NewVector(initialNumOfWorkers uint64) *Vec {
vec := &Vec{
destroy: 0,
workers: make(chan worker.BaseProcess, initialNumOfWorkers),