Merge pull request #4481 from DanHam/packer-not-terraform

Fix copy/paste Terraform references
This commit is contained in:
Rickard von Essen 2017-01-29 18:40:32 +01:00 committed by GitHub
commit 73cfed4183
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ import (
"github.com/mitchellh/packer/version" "github.com/mitchellh/packer/version"
) )
// Commands is the mapping of all the available Terraform commands. // Commands is the mapping of all the available Packer commands.
var Commands map[string]cli.CommandFactory var Commands map[string]cli.CommandFactory
// CommandMeta is the Meta to use for the commands. This must be written // CommandMeta is the Meta to use for the commands. This must be written

View File

@ -87,7 +87,7 @@ func TestUpload(t *testing.T) {
t.Fatalf("error creating communicator: %s", err) t.Fatalf("error creating communicator: %s", err)
} }
err = c.Upload("C:/Temp/terraform.cmd", bytes.NewReader([]byte("something")), nil) err = c.Upload("C:/Temp/packer.cmd", bytes.NewReader([]byte("something")), nil)
if err != nil { if err != nil {
t.Fatalf("error uploading file: %s", err) t.Fatalf("error uploading file: %s", err)
} }