From 752162c234ff6a4f75ce6ec95d0c8b5ea94af74c Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 2 Sep 2014 09:55:06 -0700 Subject: [PATCH] fmt --- builder/amazon/chroot/step_register_ami_test.go | 2 +- builder/googlecompute/step_create_instance.go | 2 +- builder/qemu/step_run.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/builder/amazon/chroot/step_register_ami_test.go b/builder/amazon/chroot/step_register_ami_test.go index f85106a8d..393b95c8b 100644 --- a/builder/amazon/chroot/step_register_ami_test.go +++ b/builder/amazon/chroot/step_register_ami_test.go @@ -1,8 +1,8 @@ package chroot import ( - "testing" "github.com/mitchellh/goamz/ec2" + "testing" ) func testImage() ec2.Image { diff --git a/builder/googlecompute/step_create_instance.go b/builder/googlecompute/step_create_instance.go index d35dc4157..7e6a68973 100644 --- a/builder/googlecompute/step_create_instance.go +++ b/builder/googlecompute/step_create_instance.go @@ -16,7 +16,7 @@ type StepCreateInstance struct { instanceName string } -func (config *Config) getImage() (Image) { +func (config *Config) getImage() Image { project := config.ProjectId if config.SourceImageProjectId != "" { project = config.SourceImageProjectId diff --git a/builder/qemu/step_run.go b/builder/qemu/step_run.go index 176697670..5520a0395 100644 --- a/builder/qemu/step_run.go +++ b/builder/qemu/step_run.go @@ -92,7 +92,7 @@ func getCommandArgs(bootDrive string, state multistep.StateBag) ([]string, error defaultArgs["-machine"] += fmt.Sprintf(",accel=%s", config.Accelerator) } else { ui.Message("WARNING: The VM will be started with no hardware acceleration.\n" + - "The installation may take considerably longer to finish.\n") + "The installation may take considerably longer to finish.\n") } // Determine if we have a floppy disk to attach