From c75a671c1e8c10c6aeed2c71e42c6d3db60929d0 Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Thu, 17 Jul 2014 15:33:09 -0400 Subject: [PATCH] Cleaned up Go formatting with gofmt. --- post-processor/vsphere/post-processor.go | 4 ++-- provisioner/ansible-local/provisioner.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/post-processor/vsphere/post-processor.go b/post-processor/vsphere/post-processor.go index 7827494bd..c9a1b6018 100644 --- a/post-processor/vsphere/post-processor.go +++ b/post-processor/vsphere/post-processor.go @@ -3,12 +3,12 @@ package vsphere import ( "bytes" "fmt" - "log" "github.com/mitchellh/packer/common" "github.com/mitchellh/packer/packer" + "log" + "net/url" "os/exec" "strings" - "net/url" ) var builtins = map[string]string{ diff --git a/provisioner/ansible-local/provisioner.go b/provisioner/ansible-local/provisioner.go index 861ee8cbc..e336024b8 100644 --- a/provisioner/ansible-local/provisioner.go +++ b/provisioner/ansible-local/provisioner.go @@ -29,7 +29,7 @@ type Config struct { // The playbook dir to upload. PlaybookDir string `mapstructure:"playbook_dir"` - + // The main playbook file to execute. PlaybookFile string `mapstructure:"playbook_file"` @@ -133,7 +133,7 @@ func (p *Provisioner) Prepare(raws ...interface{}) error { errs = packer.MultiErrorAppend(errs, err) } } - + // Check that the group_vars directory exists, if configured if len(p.config.GroupVars) > 0 { if err := validateDirConfig(p.config.GroupVars, "group_vars"); err != nil {