Fix linter

This commit is contained in:
Moss 2020-03-13 17:17:42 +01:00
parent 0cc1092222
commit 3f49b7c66e
3 changed files with 9 additions and 6 deletions

View File

@ -1,10 +1,11 @@
package testshelper
import (
"testing"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/service/ec2"
awscommon "github.com/hashicorp/packer/builder/amazon/common"
"testing"
)
type AWSHelper struct {

View File

@ -2,13 +2,14 @@ package testshelper
import (
"bytes"
"os"
"testing"
amazonebsbuilder "github.com/hashicorp/packer/builder/amazon/ebs"
"github.com/hashicorp/packer/command"
"github.com/hashicorp/packer/packer"
fileprovisioner "github.com/hashicorp/packer/provisioner/file"
"github.com/hashicorp/packer/provisioner/shell"
"os"
"testing"
)
// fileExists returns true if the filename is found

View File

@ -1,12 +1,13 @@
package shell_test
import (
"github.com/hashicorp/go-uuid"
"github.com/hashicorp/packer/command"
"github.com/hashicorp/packer/helper/tests"
"os"
"path/filepath"
"testing"
"github.com/hashicorp/go-uuid"
"github.com/hashicorp/packer/command"
"github.com/hashicorp/packer/helper/tests"
)
func TestBuildShellProvisionerWithBuildVariablesSharing(t *testing.T) {