From 72f5d84cb7a3f48d5c9c1bf1e06089a18b7e33cc Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 18 Jun 2013 21:54:33 -0700 Subject: [PATCH] fmt --- builder/amazonebs/builder.go | 2 +- packer/post_processor_test.go | 2 +- packer/rpc/post_processor_test.go | 2 +- plugin/post-processor-compress/main.go | 2 +- post-processor/compress/post-processor.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/builder/amazonebs/builder.go b/builder/amazonebs/builder.go index 38d60ccd7..f79ac065a 100644 --- a/builder/amazonebs/builder.go +++ b/builder/amazonebs/builder.go @@ -155,7 +155,7 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe b.runner.Run(state) - // If there are no AMIs, then jsut return + // If there are no AMIs, then just return if _, ok := state["amis"]; !ok { return nil, nil } diff --git a/packer/post_processor_test.go b/packer/post_processor_test.go index e938d4916..9a483f0a2 100644 --- a/packer/post_processor_test.go +++ b/packer/post_processor_test.go @@ -5,7 +5,7 @@ type TestPostProcessor struct { configVal interface{} ppCalled bool ppArtifact Artifact - ppUi Ui + ppUi Ui } func (pp *TestPostProcessor) Configure(v interface{}) error { diff --git a/packer/rpc/post_processor_test.go b/packer/rpc/post_processor_test.go index eb7a2f7c8..577c01a39 100644 --- a/packer/rpc/post_processor_test.go +++ b/packer/rpc/post_processor_test.go @@ -13,7 +13,7 @@ type TestPostProcessor struct { configVal interface{} ppCalled bool ppArtifact packer.Artifact - ppUi packer.Ui + ppUi packer.Ui } func (pp *TestPostProcessor) Configure(v interface{}) error { diff --git a/plugin/post-processor-compress/main.go b/plugin/post-processor-compress/main.go index 6f6f3e600..4b7aeaa68 100644 --- a/plugin/post-processor-compress/main.go +++ b/plugin/post-processor-compress/main.go @@ -1,8 +1,8 @@ package main import ( - "github.com/mitchellh/packer/post-processor/compress" "github.com/mitchellh/packer/packer/plugin" + "github.com/mitchellh/packer/post-processor/compress" ) func main() { diff --git a/post-processor/compress/post-processor.go b/post-processor/compress/post-processor.go index 24b5ef5e9..5af39a78a 100644 --- a/post-processor/compress/post-processor.go +++ b/post-processor/compress/post-processor.go @@ -4,8 +4,8 @@ package compress import ( "errors" - "github.com/mitchellh/packer/packer" "github.com/mitchellh/mapstructure" + "github.com/mitchellh/packer/packer" ) type Config struct {