From 3da0a47d4b3a80fc1fdc842cdcafcb91313ae208 Mon Sep 17 00:00:00 2001 From: "Jonas L." Date: Tue, 10 Sep 2024 12:36:36 +0200 Subject: [PATCH] refactor: add missing imports after outdated branch merge (#993) --- internal/certificate/data_source.go | 1 + internal/firewall/data_source.go | 1 + internal/floatingip/data_source.go | 1 + internal/image/data_source.go | 1 + internal/loadbalancer/data_source.go | 1 + internal/network/data_source.go | 1 + internal/placementgroup/data_source.go | 1 + internal/primaryip/data_source.go | 1 + internal/server/data_source.go | 1 + internal/volume/data_source.go | 1 + 10 files changed, 10 insertions(+) diff --git a/internal/certificate/data_source.go b/internal/certificate/data_source.go index 90cd02c23..e35c3d221 100644 --- a/internal/certificate/data_source.go +++ b/internal/certificate/data_source.go @@ -8,6 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hetznercloud/hcloud-go/hcloud" + "github.com/hetznercloud/terraform-provider-hcloud/internal/util/datasourceutil" "github.com/hetznercloud/terraform-provider-hcloud/internal/util/hcloudutil" "github.com/hetznercloud/terraform-provider-hcloud/internal/util/merge" ) diff --git a/internal/firewall/data_source.go b/internal/firewall/data_source.go index 23f161389..ff973c853 100644 --- a/internal/firewall/data_source.go +++ b/internal/firewall/data_source.go @@ -9,6 +9,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hetznercloud/hcloud-go/hcloud" + "github.com/hetznercloud/terraform-provider-hcloud/internal/util/datasourceutil" "github.com/hetznercloud/terraform-provider-hcloud/internal/util/hcloudutil" "github.com/hetznercloud/terraform-provider-hcloud/internal/util/merge" ) diff --git a/internal/floatingip/data_source.go b/internal/floatingip/data_source.go index 885b78062..93142975e 100644 --- a/internal/floatingip/data_source.go +++ b/internal/floatingip/data_source.go @@ -4,6 +4,7 @@ import ( "context" "strconv" + "github.com/hetznercloud/terraform-provider-hcloud/internal/util/datasourceutil" "github.com/hetznercloud/terraform-provider-hcloud/internal/util/hcloudutil" "github.com/hetznercloud/terraform-provider-hcloud/internal/util/merge" diff --git a/internal/image/data_source.go b/internal/image/data_source.go index 76c287c08..74d28a138 100644 --- a/internal/image/data_source.go +++ b/internal/image/data_source.go @@ -11,6 +11,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hetznercloud/hcloud-go/hcloud" + "github.com/hetznercloud/terraform-provider-hcloud/internal/util/datasourceutil" "github.com/hetznercloud/terraform-provider-hcloud/internal/util/hcloudutil" "github.com/hetznercloud/terraform-provider-hcloud/internal/util/merge" ) diff --git a/internal/loadbalancer/data_source.go b/internal/loadbalancer/data_source.go index 523a82323..414eb0cb7 100644 --- a/internal/loadbalancer/data_source.go +++ b/internal/loadbalancer/data_source.go @@ -8,6 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hetznercloud/hcloud-go/hcloud" + "github.com/hetznercloud/terraform-provider-hcloud/internal/util/datasourceutil" "github.com/hetznercloud/terraform-provider-hcloud/internal/util/hcloudutil" "github.com/hetznercloud/terraform-provider-hcloud/internal/util/merge" ) diff --git a/internal/network/data_source.go b/internal/network/data_source.go index 9bac6bdb4..f085586bc 100644 --- a/internal/network/data_source.go +++ b/internal/network/data_source.go @@ -9,6 +9,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hetznercloud/hcloud-go/hcloud" + "github.com/hetznercloud/terraform-provider-hcloud/internal/util/datasourceutil" "github.com/hetznercloud/terraform-provider-hcloud/internal/util/hcloudutil" "github.com/hetznercloud/terraform-provider-hcloud/internal/util/merge" ) diff --git a/internal/placementgroup/data_source.go b/internal/placementgroup/data_source.go index 39b408247..b051f0091 100644 --- a/internal/placementgroup/data_source.go +++ b/internal/placementgroup/data_source.go @@ -10,6 +10,7 @@ import ( "golang.org/x/net/context" "github.com/hetznercloud/hcloud-go/hcloud" + "github.com/hetznercloud/terraform-provider-hcloud/internal/util/datasourceutil" "github.com/hetznercloud/terraform-provider-hcloud/internal/util/hcloudutil" "github.com/hetznercloud/terraform-provider-hcloud/internal/util/merge" ) diff --git a/internal/primaryip/data_source.go b/internal/primaryip/data_source.go index 74809bdc4..23b40d4aa 100644 --- a/internal/primaryip/data_source.go +++ b/internal/primaryip/data_source.go @@ -4,6 +4,7 @@ import ( "context" "strconv" + "github.com/hetznercloud/terraform-provider-hcloud/internal/util/datasourceutil" "github.com/hetznercloud/terraform-provider-hcloud/internal/util/hcloudutil" "github.com/hetznercloud/terraform-provider-hcloud/internal/util/merge" diff --git a/internal/server/data_source.go b/internal/server/data_source.go index 6ede3dd13..7011f1e83 100644 --- a/internal/server/data_source.go +++ b/internal/server/data_source.go @@ -8,6 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hetznercloud/hcloud-go/hcloud" + "github.com/hetznercloud/terraform-provider-hcloud/internal/util/datasourceutil" "github.com/hetznercloud/terraform-provider-hcloud/internal/util/hcloudutil" "github.com/hetznercloud/terraform-provider-hcloud/internal/util/merge" ) diff --git a/internal/volume/data_source.go b/internal/volume/data_source.go index 1661cd3ad..f1dd77428 100644 --- a/internal/volume/data_source.go +++ b/internal/volume/data_source.go @@ -8,6 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hetznercloud/hcloud-go/hcloud" + "github.com/hetznercloud/terraform-provider-hcloud/internal/util/datasourceutil" "github.com/hetznercloud/terraform-provider-hcloud/internal/util/hcloudutil" "github.com/hetznercloud/terraform-provider-hcloud/internal/util/merge" )