More descriptive variable names for pipes.

pull/227/head
bdd 12 years ago
parent b7ec5cc9f8
commit b2ff49be2e

@ -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,

Loading…
Cancel
Save