go fmt
This commit is contained in:
parent
368ccab8e8
commit
44bd56c3a8
|
@ -1,6 +1,5 @@
|
|||
package build
|
||||
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"cgl.tideland.biz/asserts"
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/mitchellh/packer/packer"
|
||||
"github.com/mitchellh/packer/packer/plugin"
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
"log"
|
||||
"os"
|
||||
|
|
|
@ -13,4 +13,3 @@ type Builder interface {
|
|||
Prepare(config interface{}) error
|
||||
Run(build Build, ui Ui)
|
||||
}
|
||||
|
||||
|
|
|
@ -2,10 +2,10 @@ package plugin
|
|||
|
||||
import (
|
||||
"github.com/mitchellh/packer/packer"
|
||||
packrpc "github.com/mitchellh/packer/packer/rpc"
|
||||
"log"
|
||||
"net/rpc"
|
||||
"os/exec"
|
||||
packrpc "github.com/mitchellh/packer/packer/rpc"
|
||||
)
|
||||
|
||||
type cmdBuilder struct {
|
||||
|
@ -39,7 +39,6 @@ func (c *cmdBuilder) checkExit(p interface{}, cb func()) {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
// Returns a valid packer.Builder where the builder is executed via RPC
|
||||
// to a plugin that is within a subprocess.
|
||||
//
|
||||
|
|
|
@ -28,4 +28,3 @@ func TestBuilder_Good(t *testing.T) {
|
|||
_, err := Builder(helperProcess("builder"))
|
||||
assert.Nil(err, "should start builder properly")
|
||||
}
|
||||
|
||||
|
|
|
@ -2,10 +2,10 @@ package plugin
|
|||
|
||||
import (
|
||||
"github.com/mitchellh/packer/packer"
|
||||
packrpc "github.com/mitchellh/packer/packer/rpc"
|
||||
"log"
|
||||
"net/rpc"
|
||||
"os/exec"
|
||||
packrpc "github.com/mitchellh/packer/packer/rpc"
|
||||
)
|
||||
|
||||
type cmdCommand struct {
|
||||
|
|
|
@ -10,11 +10,11 @@ package plugin
|
|||
import (
|
||||
"fmt"
|
||||
"github.com/mitchellh/packer/packer"
|
||||
packrpc "github.com/mitchellh/packer/packer/rpc"
|
||||
"log"
|
||||
"net"
|
||||
"net/rpc"
|
||||
"os"
|
||||
packrpc "github.com/mitchellh/packer/packer/rpc"
|
||||
"strconv"
|
||||
"strings"
|
||||
)
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
package rpc
|
||||
|
||||
|
|
Loading…
Reference in New Issue