From e2403b25120b749a79a4053cbaf6f4a046d94dbe Mon Sep 17 00:00:00 2001 From: tombuildsstuff Date: Wed, 28 Feb 2024 10:19:03 +0100 Subject: [PATCH] nit: linting --- .../services/blueprints/blueprint_definition_data_source.go | 2 +- internal/services/labservice/lab_service_lab_resource.go | 2 +- internal/services/network/route_filter_resource.go | 2 +- .../notificationhub/notification_hub_namespace_resource.go | 2 +- .../services/sentinel/sentinel_alert_rule_scheduled_resource.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/internal/services/blueprints/blueprint_definition_data_source.go b/internal/services/blueprints/blueprint_definition_data_source.go index f29cc13e6a81..1fbdf4575ec3 100644 --- a/internal/services/blueprints/blueprint_definition_data_source.go +++ b/internal/services/blueprints/blueprint_definition_data_source.go @@ -107,7 +107,7 @@ func dataSourceBlueprintDefinitionRead(d *pluginsdk.ResourceData, meta interface d.Set("display_name", pointer.From(p.DisplayName)) d.Set("last_modified", p.Status.LastModified) d.Set("time_created", p.Status.TimeCreated) - d.Set("target_scope", p.TargetScope) + d.Set("target_scope", pointer.From(p.TargetScope)) publishedId := publishedblueprint.NewScopedBlueprintID(id.ResourceScope, id.BlueprintName) diff --git a/internal/services/labservice/lab_service_lab_resource.go b/internal/services/labservice/lab_service_lab_resource.go index 37b0e76a8fe3..bd5b5af6fe17 100644 --- a/internal/services/labservice/lab_service_lab_resource.go +++ b/internal/services/labservice/lab_service_lab_resource.go @@ -6,9 +6,9 @@ package labservice import ( "context" "fmt" - "github.com/hashicorp/go-azure-helpers/lang/pointer" "time" + "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" diff --git a/internal/services/network/route_filter_resource.go b/internal/services/network/route_filter_resource.go index 610db2e4870f..23eb6d193fe8 100644 --- a/internal/services/network/route_filter_resource.go +++ b/internal/services/network/route_filter_resource.go @@ -5,10 +5,10 @@ package network import ( "fmt" - "github.com/hashicorp/go-azure-helpers/lang/pointer" "log" "time" + "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" diff --git a/internal/services/notificationhub/notification_hub_namespace_resource.go b/internal/services/notificationhub/notification_hub_namespace_resource.go index 5c44339f1e72..abd8c6b3f62f 100644 --- a/internal/services/notificationhub/notification_hub_namespace_resource.go +++ b/internal/services/notificationhub/notification_hub_namespace_resource.go @@ -6,11 +6,11 @@ package notificationhub import ( "context" "fmt" - "github.com/hashicorp/go-azure-helpers/lang/pointer" "log" "strconv" "time" + "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" diff --git a/internal/services/sentinel/sentinel_alert_rule_scheduled_resource.go b/internal/services/sentinel/sentinel_alert_rule_scheduled_resource.go index a53036b739b6..dbfbea983747 100644 --- a/internal/services/sentinel/sentinel_alert_rule_scheduled_resource.go +++ b/internal/services/sentinel/sentinel_alert_rule_scheduled_resource.go @@ -5,10 +5,10 @@ package sentinel import ( "fmt" - "github.com/hashicorp/go-azure-helpers/lang/pointer" "log" "time" + "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-sdk/resource-manager/operationalinsights/2020-08-01/workspaces" "github.com/hashicorp/go-azure-sdk/resource-manager/securityinsights/2022-10-01-preview/alertrules"