Commit b98df11c authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

fmt

parent 264e59d7
...@@ -155,7 +155,7 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe ...@@ -155,7 +155,7 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe
b.runner.Run(state) 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 { if _, ok := state["amis"]; !ok {
return nil, nil return nil, nil
} }
......
...@@ -5,7 +5,7 @@ type TestPostProcessor struct { ...@@ -5,7 +5,7 @@ type TestPostProcessor struct {
configVal interface{} configVal interface{}
ppCalled bool ppCalled bool
ppArtifact Artifact ppArtifact Artifact
ppUi Ui ppUi Ui
} }
func (pp *TestPostProcessor) Configure(v interface{}) error { func (pp *TestPostProcessor) Configure(v interface{}) error {
......
...@@ -13,7 +13,7 @@ type TestPostProcessor struct { ...@@ -13,7 +13,7 @@ type TestPostProcessor struct {
configVal interface{} configVal interface{}
ppCalled bool ppCalled bool
ppArtifact packer.Artifact ppArtifact packer.Artifact
ppUi packer.Ui ppUi packer.Ui
} }
func (pp *TestPostProcessor) Configure(v interface{}) error { func (pp *TestPostProcessor) Configure(v interface{}) error {
......
package main package main
import ( import (
"github.com/mitchellh/packer/post-processor/compress"
"github.com/mitchellh/packer/packer/plugin" "github.com/mitchellh/packer/packer/plugin"
"github.com/mitchellh/packer/post-processor/compress"
) )
func main() { func main() {
......
...@@ -4,8 +4,8 @@ package compress ...@@ -4,8 +4,8 @@ package compress
import ( import (
"errors" "errors"
"github.com/mitchellh/packer/packer"
"github.com/mitchellh/mapstructure" "github.com/mitchellh/mapstructure"
"github.com/mitchellh/packer/packer"
) )
type Config struct { type Config struct {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment