Skip to content

Commit cbc5f48

Browse files
committed
feat(mongodb): fix lint
1 parent a6d8b28 commit cbc5f48

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

internal/services/mongodb/data_source_instance.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66

77
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
88
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
9-
"github.com/scaleway/scaleway-sdk-go/api/mongodb/v1alpha1"
9+
mongodb "github.com/scaleway/scaleway-sdk-go/api/mongodb/v1alpha1"
1010
"github.com/scaleway/scaleway-sdk-go/scw"
1111
"github.com/scaleway/terraform-provider-scaleway/v2/internal/datasource"
1212
"github.com/scaleway/terraform-provider-scaleway/v2/internal/locality"

internal/services/mongodb/instance.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,6 @@ func ResourceInstance() *schema.Resource {
164164

165165
func ResourceInstanceCreate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics {
166166
mongodbAPI, zone, err := newAPIWithZone(d, m)
167-
168167
if err != nil {
169168
return diag.FromErr(err)
170169
}

0 commit comments

Comments
 (0)