This commit is contained in:
Mitchell Hashimoto 2013-12-11 11:19:36 -08:00
parent ccbb109d05
commit 6aef114372
6 changed files with 11 additions and 12 deletions

View File

@ -147,7 +147,7 @@ func (c *communicator) Download(path string, w io.Writer) (err error) {
return return
} }
func (c *CommunicatorServer) Start(args *CommunicatorStartArgs, reply *interface{}) (error) { func (c *CommunicatorServer) Start(args *CommunicatorStartArgs, reply *interface{}) error {
// Build the RemoteCmd on this side so that it all pipes over // Build the RemoteCmd on this side so that it all pipes over
// to the remote side. // to the remote side.
var cmd packer.RemoteCmd var cmd packer.RemoteCmd
@ -197,7 +197,6 @@ func (c *CommunicatorServer) Start(args *CommunicatorStartArgs, reply *interface
cmd.Stderr = conn cmd.Stderr = conn
} }
// Connect to the response address so we can write our result to it // Connect to the response address so we can write our result to it
// when ready. // when ready.
responseC, err := c.mux.Dial(args.ResponseStreamId) responseC, err := c.mux.Dial(args.ResponseStreamId)