Skip to content

Commit 674a0ca

Browse files
committed
fix(object): linter goimport
1 parent da7a176 commit 674a0ca

File tree

6 files changed

+14
-20
lines changed

6 files changed

+14
-20
lines changed

internal/services/object/bucket_acl.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@ import (
66
"fmt"
77
"strings"
88

9-
s3Types "github.com/aws/aws-sdk-go-v2/service/s3/types"
10-
119
"github.com/aws/aws-sdk-go-v2/aws"
1210
"github.com/aws/aws-sdk-go-v2/service/s3"
11+
s3Types "github.com/aws/aws-sdk-go-v2/service/s3/types"
1312
"github.com/hashicorp/terraform-plugin-log/tflog"
1413
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
1514
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"

internal/services/object/bucket_lock_configuration.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@ import (
55
"errors"
66
"fmt"
77

8-
s3Types "github.com/aws/aws-sdk-go-v2/service/s3/types"
9-
108
"github.com/aws/aws-sdk-go-v2/aws"
119
"github.com/aws/aws-sdk-go-v2/service/s3"
10+
s3Types "github.com/aws/aws-sdk-go-v2/service/s3/types"
1211
"github.com/hashicorp/terraform-plugin-log/tflog"
1312
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
1413
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"

internal/services/object/bucket_test.go

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,16 @@ import (
1212
"github.com/aws/aws-sdk-go-v2/service/s3"
1313
s3Types "github.com/aws/aws-sdk-go-v2/service/s3/types"
1414
"github.com/aws/aws-sdk-go/aws/awserr"
15-
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
16-
"github.com/scaleway/terraform-provider-scaleway/v2/internal/locality/regional"
17-
"github.com/scaleway/terraform-provider-scaleway/v2/internal/services/object"
18-
"github.com/scaleway/terraform-provider-scaleway/v2/internal/transport"
19-
"github.com/scaleway/terraform-provider-scaleway/v2/internal/types"
20-
2115
sdkacctest "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
2216
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
17+
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
2318
"github.com/scaleway/scaleway-sdk-go/scw"
2419
"github.com/scaleway/terraform-provider-scaleway/v2/internal/acctest"
20+
"github.com/scaleway/terraform-provider-scaleway/v2/internal/locality/regional"
21+
"github.com/scaleway/terraform-provider-scaleway/v2/internal/services/object"
2522
objectchecks "github.com/scaleway/terraform-provider-scaleway/v2/internal/services/object/testfuncs"
23+
"github.com/scaleway/terraform-provider-scaleway/v2/internal/transport"
24+
"github.com/scaleway/terraform-provider-scaleway/v2/internal/types"
2625
)
2726

2827
func TestAccObjectBucket_Basic(t *testing.T) {

internal/services/object/bucket_website_configuration.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@ import (
55
"errors"
66
"fmt"
77

8-
s3Types "github.com/aws/aws-sdk-go-v2/service/s3/types"
9-
"github.com/aws/aws-sdk-go/aws/awserr"
10-
118
"github.com/aws/aws-sdk-go-v2/aws"
129
"github.com/aws/aws-sdk-go-v2/service/s3"
10+
s3Types "github.com/aws/aws-sdk-go-v2/service/s3/types"
11+
"github.com/aws/aws-sdk-go/aws/awserr"
1312
"github.com/hashicorp/terraform-plugin-log/tflog"
1413
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
1514
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"

internal/services/object/helpers_object.go

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,14 @@ import (
1010
"strings"
1111
"time"
1212

13-
"github.com/aws/aws-sdk-go-v2/credentials"
14-
s3Types "github.com/aws/aws-sdk-go-v2/service/s3/types"
15-
"github.com/aws/smithy-go"
16-
awspolicy "github.com/hashicorp/awspolicyequivalence"
17-
1813
"github.com/aws/aws-sdk-go-v2/aws"
1914
"github.com/aws/aws-sdk-go-v2/config"
15+
"github.com/aws/aws-sdk-go-v2/credentials"
2016
"github.com/aws/aws-sdk-go-v2/service/s3"
17+
s3Types "github.com/aws/aws-sdk-go-v2/service/s3/types"
18+
"github.com/aws/smithy-go"
2119
smithyendpoints "github.com/aws/smithy-go/endpoints"
20+
awspolicy "github.com/hashicorp/awspolicyequivalence"
2221
"github.com/hashicorp/go-cty/cty"
2322
"github.com/hashicorp/go-multierror"
2423
"github.com/hashicorp/terraform-plugin-log/tflog"

internal/services/object/helpers_object_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@ import (
44
"testing"
55

66
s3Types "github.com/aws/aws-sdk-go-v2/service/s3/types"
7-
"github.com/scaleway/terraform-provider-scaleway/v2/internal/types"
8-
97
"github.com/scaleway/scaleway-sdk-go/scw"
108
"github.com/scaleway/terraform-provider-scaleway/v2/internal/services/object"
9+
"github.com/scaleway/terraform-provider-scaleway/v2/internal/types"
1110
"github.com/stretchr/testify/assert"
1211
)
1312

0 commit comments

Comments
 (0)