packer/rpc: rename uploadReader to uploadData because that makes sense

This commit is contained in:
Mitchell Hashimoto 2013-12-10 15:30:58 -08:00
parent 3a41500888
commit e4dbad330d
1 changed files with 1 additions and 1 deletions

View File

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