More descriptive variable names for pipes.

This commit is contained in:
bdd 2014-08-25 12:39:07 -04:00
parent b7ec5cc9f8
commit b2ff49be2e
1 changed files with 4 additions and 4 deletions

View File

@ -195,10 +195,10 @@ func (p *ResourceProvisioner) runScripts(conf *helper.SSHConfig, scripts []io.Re
}
cmd.Wait()
rPipe1, wPipe1 := io.Pipe()
rPipe2, wPipe2 := io.Pipe()
go streamLogs(rPipe1, "stdout")
go streamLogs(rPipe2, "stderr")
rStdOut, wStdOut := io.Pipe()
rStdErr, wStdErr := io.Pipe()
go streamLogs(rStdOut, "stdout")
go streamLogs(rStdErr, "stderr")
cmd = &helper.RemoteCmd{
Command: conf.ScriptPath,