From 2a58b1be2c79f2fe10c0a429878937661645a928 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Sun, 28 Mar 2021 14:00:54 +0300 Subject: - Fix bug with the worker reallocating during the response - Update .golangci and fix new warnings Signed-off-by: Valery Piashchynski --- pkg/worker/worker.go | 1 - 1 file changed, 1 deletion(-) (limited to 'pkg/worker/worker.go') diff --git a/pkg/worker/worker.go b/pkg/worker/worker.go index 0f7ab755..b04e1363 100755 --- a/pkg/worker/worker.go +++ b/pkg/worker/worker.go @@ -46,7 +46,6 @@ type Process struct { // InitBaseWorker creates new Process over given exec.cmd. func InitBaseWorker(cmd *exec.Cmd, options ...Options) (*Process, error) { - const op = errors.Op("init_base_worker") if cmd.Process != nil { return nil, fmt.Errorf("can't attach to running process") } -- cgit v1.2.3