Skip to content

Commit

Permalink
refactor: remove duplicate import blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
htahir1 committed Oct 27, 2024
1 parent f26ebc9 commit 35057fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions internal/provider/data_source_service_connector.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package provider

import (
"fmt"
"context"
"fmt"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
)

Expand Down Expand Up @@ -58,10 +58,6 @@ func setServiceConnectorFields(d *schema.ResourceData, connector *ServiceConnect
return nil
}

import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
)

func dataSourceServiceConnector() *schema.Resource {
return &schema.Resource{
Read: dataSourceServiceConnectorRead,
Expand Down
6 changes: 1 addition & 5 deletions internal/provider/data_source_stack_component.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package provider

import (
"fmt"
"context"
"fmt"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
)

Expand Down Expand Up @@ -56,10 +56,6 @@ func setStackComponentFields(d *schema.ResourceData, component *ComponentRespons
return nil
}

import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
)

func dataSourceStackComponent() *schema.Resource {
return &schema.Resource{
Read: dataSourceStackComponentRead,
Expand Down

0 comments on commit 35057fd

Please sign in to comment.