[agent-go] fix-bugs
This commit is contained in:
@@ -63,6 +63,7 @@ func PipeLineCommandExecutor(pipeLineCommand [][]string) ([]string, error) {
|
||||
prevCmd := cmds[i-1]
|
||||
out, err := prevCmd.StdoutPipe()
|
||||
if err != nil {
|
||||
log.ErrorF("Pipeline command error happened! Command is => %v, Error is %v", partOfCommand, err)
|
||||
return nil, err
|
||||
}
|
||||
cmd.Stdin = out
|
||||
|
||||
Reference in New Issue
Block a user