From 2b0f52e84a223c5139b9e23cbecc42e55f324387 Mon Sep 17 00:00:00 2001 From: DanHam Date: Sun, 29 Jan 2017 16:31:23 +0000 Subject: [PATCH] Fix copy/paste Terraform references --- commands.go | 2 +- communicator/winrm/communicator_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands.go b/commands.go index a3834c7b9..02d55c707 100644 --- a/commands.go +++ b/commands.go @@ -9,7 +9,7 @@ import ( "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 // CommandMeta is the Meta to use for the commands. This must be written diff --git a/communicator/winrm/communicator_test.go b/communicator/winrm/communicator_test.go index 5c29a7403..dde9dd381 100644 --- a/communicator/winrm/communicator_test.go +++ b/communicator/winrm/communicator_test.go @@ -87,7 +87,7 @@ func TestUpload(t *testing.T) { 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 { t.Fatalf("error uploading file: %s", err) }