Formatted googlecompute builder as per make format

This commit is contained in:
Prasanna Santhanam
2014-01-31 22:26:09 +05:30
parent c3eceb1af5
commit 410c0f37e1
4 changed files with 56 additions and 56 deletions
@@ -13,7 +13,7 @@ import (
// StepCreateInstance represents a Packer build step that creates GCE instances.
type StepCreateInstance struct {
instanceName string
Debug bool
Debug bool
}
// Run executes the Packer build step that creates a GCE instance.
@@ -57,11 +57,11 @@ func (s *StepCreateInstance) Run(state multistep.StateBag) multistep.StepAction
ui.Message("Instance has been created!")
if s.Debug {
if name != "" {
ui.Message(fmt.Sprintf("Instance: %s started in %s", name, config.Zone))
}
}
if s.Debug {
if name != "" {
ui.Message(fmt.Sprintf("Instance: %s started in %s", name, config.Zone))
}
}
// Things succeeded, store the name so we can remove it later
state.Put("instance_name", name)