Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
matoval committed Sep 18, 2024
1 parent b2ed17d commit 61dbced
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/controlsvc/controlsvc.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ func (s *SockControl) ReadFromConn(message string, out io.Writer, io Copier) err
if err.Error() != "EOF" {
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)
Expand Down
2 changes: 1 addition & 1 deletion pkg/workceptor/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ func commandRunner(command string, params string, unitdir string) error {
if err.Error() != "EOF" {
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)
Expand Down

0 comments on commit 61dbced

Please sign in to comment.