[lxc] go fmt our files

This commit is contained in:
Chris Lundquist 2016-05-25 19:34:51 +00:00 committed by Megan Marsh
parent 9b4a7e935f
commit 5eb1bc9338
6 changed files with 20 additions and 21 deletions

View File

@ -1,8 +1,8 @@
package lxc package lxc
import ( import (
"testing"
"os" "os"
"testing"
"github.com/mitchellh/packer/packer" "github.com/mitchellh/packer/packer"
) )

View File

@ -7,8 +7,8 @@ import (
"github.com/mitchellh/packer/helper/config" "github.com/mitchellh/packer/helper/config"
"github.com/mitchellh/packer/packer" "github.com/mitchellh/packer/packer"
"github.com/mitchellh/packer/template/interpolate" "github.com/mitchellh/packer/template/interpolate"
"time"
"os" "os"
"time"
) )
type Config struct { type Config struct {

View File

@ -1,16 +1,16 @@
package lxc package lxc
import ( import (
"github.com/mitchellh/multistep"
"fmt"
"github.com/mitchellh/packer/packer"
"bytes" "bytes"
"os/exec" "fmt"
"log" "github.com/mitchellh/multistep"
"strings" "github.com/mitchellh/packer/packer"
"path/filepath"
"os"
"io" "io"
"log"
"os"
"os/exec"
"path/filepath"
"strings"
) )
type stepExport struct{} type stepExport struct{}
@ -75,7 +75,6 @@ func (s *stepExport) Run(state multistep.StateBag) multistep.StepAction {
func (s *stepExport) Cleanup(state multistep.StateBag) {} func (s *stepExport) Cleanup(state multistep.StateBag) {}
func (s *stepExport) SudoCommand(args ...string) error { func (s *stepExport) SudoCommand(args ...string) error {
var stdout, stderr bytes.Buffer var stdout, stderr bytes.Buffer