From b2ed17d1b44e3fb5214d1d695b6b7caf0ec51942 Mon Sep 17 00:00:00 2001 From: matoval Date: Wed, 18 Sep 2024 13:17:08 -0700 Subject: [PATCH] Fix lint --- pkg/controlsvc/controlsvc.go | 1 + pkg/workceptor/command.go | 1 + 2 files changed, 2 insertions(+) diff --git a/pkg/controlsvc/controlsvc.go b/pkg/controlsvc/controlsvc.go index a6647a5af..7516681ca 100644 --- a/pkg/controlsvc/controlsvc.go +++ b/pkg/controlsvc/controlsvc.go @@ -141,6 +141,7 @@ func (s *SockControl) ReadFromConn(message string, out io.Writer, io Copier) err MainInstance.nc.GetLogger().Error("Error reading from %v: %v \n", connectType, err) } break + } data += response MainInstance.nc.GetLogger().Debug("Response from %v: %v", connectType, response) diff --git a/pkg/workceptor/command.go b/pkg/workceptor/command.go index be4e1b08b..6f5872328 100644 --- a/pkg/workceptor/command.go +++ b/pkg/workceptor/command.go @@ -131,6 +131,7 @@ func commandRunner(command string, params string, unitdir string) error { MainInstance.nc.GetLogger().Error("Error reading work unit %v stdin: %v\n", workUnitID, err) } break + } data += response MainInstance.nc.GetLogger().Debug("Work unit %v stdin: %v", workUnitID, response)