Skip to content

Commit 01c29b6

Browse files
Fixed linting errors
1 parent 4c749cf commit 01c29b6

File tree

7 files changed

+11
-8
lines changed

7 files changed

+11
-8
lines changed

test/helper/cloud/aws/vpc.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@ package aws
1717
import (
1818
"context"
1919
"fmt"
20-
taghelper "github.com/mongodb/mongodb-atlas-kubernetes/v2/test/helper"
2120

2221
"github.com/aws/aws-sdk-go-v2/aws"
2322
"github.com/aws/aws-sdk-go-v2/config"
2423
"github.com/aws/aws-sdk-go-v2/service/ec2"
2524
"github.com/aws/aws-sdk-go-v2/service/ec2/types"
25+
26+
taghelper "github.com/mongodb/mongodb-atlas-kubernetes/v2/test/helper"
2627
)
2728

2829
func CreateVPC(ctx context.Context, name, cidr, region string) (string, error) {

test/helper/cloud/azure/vpc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ import (
1818
"context"
1919
"errors"
2020
"fmt"
21-
taghelper "github.com/mongodb/mongodb-atlas-kubernetes/v2/test/helper"
2221

2322
"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork/v2"
2423

2524
"github.com/mongodb/mongodb-atlas-kubernetes/v2/internal/pointer"
25+
taghelper "github.com/mongodb/mongodb-atlas-kubernetes/v2/test/helper"
2626
)
2727

2828
func CreateVPC(ctx context.Context, vpcName, cidr, region string) (string, error) {

test/helper/e2e/actions/cloud/aws.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ import (
1919
"encoding/json"
2020
"errors"
2121
"fmt"
22-
taghelper "github.com/mongodb/mongodb-atlas-kubernetes/v2/test/helper"
2322
"os"
2423
"strings"
2524
"time"
@@ -36,6 +35,7 @@ import (
3635
. "github.com/onsi/gomega"
3736

3837
"github.com/mongodb/mongodb-atlas-kubernetes/v2/internal/pointer"
38+
taghelper "github.com/mongodb/mongodb-atlas-kubernetes/v2/test/helper"
3939
)
4040

4141
type AwsAction struct {

test/helper/e2e/actions/cloud/azure.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ import (
1818
"context"
1919
"errors"
2020
"fmt"
21-
taghelper "github.com/mongodb/mongodb-atlas-kubernetes/v2/test/helper"
2221

2322
"github.com/Azure/azure-sdk-for-go/sdk/azcore"
2423
"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
@@ -27,6 +26,7 @@ import (
2726
"github.com/onsi/ginkgo/v2/dsl/core"
2827

2928
"github.com/mongodb/mongodb-atlas-kubernetes/v2/internal/pointer"
29+
taghelper "github.com/mongodb/mongodb-atlas-kubernetes/v2/test/helper"
3030
)
3131

3232
const (

test/helper/e2e/actions/cloudaccess/aws_roles.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,14 @@ import (
1818
"context"
1919
"encoding/json"
2020
"fmt"
21-
taghelper "github.com/mongodb/mongodb-atlas-kubernetes/v2/test/helper"
2221
"strings"
2322

2423
"github.com/aws/aws-sdk-go-v2/aws"
2524
"github.com/aws/aws-sdk-go-v2/config"
2625
"github.com/aws/aws-sdk-go-v2/service/iam"
2726
"github.com/aws/aws-sdk-go-v2/service/iam/types"
27+
28+
taghelper "github.com/mongodb/mongodb-atlas-kubernetes/v2/test/helper"
2829
)
2930

3031
type AssumeRolePolicyDocument struct {

test/helper/e2e/api/aws/aws_resources_generator.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ import (
1818
"context"
1919
"encoding/json"
2020
"fmt"
21-
taghelper "github.com/mongodb/mongodb-atlas-kubernetes/v2/test/helper"
2221

2322
"github.com/aws/aws-sdk-go-v2/aws"
2423
"github.com/aws/aws-sdk-go-v2/config"
@@ -27,6 +26,8 @@ import (
2726
"github.com/aws/aws-sdk-go-v2/service/s3"
2827
s3types "github.com/aws/aws-sdk-go-v2/service/s3/types"
2928
"github.com/onsi/ginkgo/v2"
29+
30+
taghelper "github.com/mongodb/mongodb-atlas-kubernetes/v2/test/helper"
3031
)
3132

3233
type AwsResourcesGenerator struct {

test/helper/e2e/api/azure/azure.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ import (
1818
"context"
1919
"errors"
2020
"fmt"
21-
"github.com/mongodb/mongodb-atlas-kubernetes/v2/internal/pointer"
22-
taghelper "github.com/mongodb/mongodb-atlas-kubernetes/v2/test/helper"
2321
"path"
2422
"time"
2523

@@ -28,6 +26,8 @@ import (
2826
"github.com/Azure/go-autorest/autorest/azure/auth"
2927
"github.com/Azure/go-autorest/autorest/to"
3028

29+
"github.com/mongodb/mongodb-atlas-kubernetes/v2/internal/pointer"
30+
taghelper "github.com/mongodb/mongodb-atlas-kubernetes/v2/test/helper"
3131
"github.com/mongodb/mongodb-atlas-kubernetes/v2/test/helper/e2e/config"
3232
)
3333

0 commit comments

Comments
 (0)