summaryrefslogtreecommitdiff
path: root/pkg/worker
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-08-28 02:03:54 +0300
committerValery Piashchynski <[email protected]>2021-08-28 02:03:54 +0300
commitfb356081dcaea81952e2019502c0216af7d10c7d (patch)
tree45285a8541d78216983fbc4ebf89251d0777ff50 /pkg/worker
parentefb3efa98c8555815330274f0618bfc080f4c65c (diff)
Reduce error check operations
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'pkg/worker')
-rwxr-xr-xpkg/worker/worker.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/worker/worker.go b/pkg/worker/worker.go
index 2044d0e7..fa74e7b5 100755
--- a/pkg/worker/worker.go
+++ b/pkg/worker/worker.go
@@ -194,7 +194,7 @@ func (w *Process) Stop() error {
}
// Kill kills underlying process, make sure to call Wait() func to gather
-// error log from the stderr. Does not waits for process completion!
+// error log from the stderr. Does not wait for process completion!
func (w *Process) Kill() error {
if w.State().Value() == StateDestroyed {
err := w.cmd.Process.Signal(os.Kill)