packer/rpc: rename uploadReader to uploadData because that makes sense
This commit is contained in:
parent
3a41500888
commit
e4dbad330d
|
@ -106,7 +106,7 @@ func (c *communicator) Start(cmd *packer.RemoteCmd) (err error) {
|
|||
func (c *communicator) Upload(path string, r io.Reader) (err error) {
|
||||
// Pipe the reader through to the connection
|
||||
streamId := c.mux.NextId()
|
||||
go serveSingleCopy("uploadReader", c.mux, streamId, nil, r)
|
||||
go serveSingleCopy("uploadData", c.mux, streamId, nil, r)
|
||||
|
||||
args := CommunicatorUploadArgs{
|
||||
Path: path,
|
||||
|
|
Loading…
Reference in New Issue