From 30c14aae50d05eff03906dcf367b2e5c77bb667a Mon Sep 17 00:00:00 2001 From: Axel Ismirlian Date: Wed, 6 Nov 2024 15:21:08 -0600 Subject: [PATCH] Fix sap profile datasource warning --- ibm/service/power/data_source_ibm_pi_sap_profile.go | 2 +- ibm/service/power/data_source_ibm_pi_sap_profiles.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ibm/service/power/data_source_ibm_pi_sap_profile.go b/ibm/service/power/data_source_ibm_pi_sap_profile.go index a1e04e803f3..4535706116c 100644 --- a/ibm/service/power/data_source_ibm_pi_sap_profile.go +++ b/ibm/service/power/data_source_ibm_pi_sap_profile.go @@ -107,7 +107,7 @@ func dataSourceIBMPISAPProfileRead(ctx context.Context, d *schema.ResourceData, d.Set(Attr_SAPS, sapProfile.Saps) d.Set(Attr_SupportedSystems, sapProfile.SupportedSystems) d.Set(Attr_Type, *sapProfile.Type) - d.Set(Attr_WorkloadType, *&sapProfile.WorkloadTypes) + d.Set(Attr_WorkloadType, sapProfile.WorkloadTypes) return nil } diff --git a/ibm/service/power/data_source_ibm_pi_sap_profiles.go b/ibm/service/power/data_source_ibm_pi_sap_profiles.go index 75176940195..d345e6dcea0 100644 --- a/ibm/service/power/data_source_ibm_pi_sap_profiles.go +++ b/ibm/service/power/data_source_ibm_pi_sap_profiles.go @@ -118,7 +118,7 @@ func dataSourceIBMPISAPProfilesRead(ctx context.Context, d *schema.ResourceData, Attr_SAPS: sapProfile.Saps, Attr_SupportedSystems: sapProfile.SupportedSystems, Attr_Type: *sapProfile.Type, - Attr_WorkloadType: *&sapProfile.WorkloadTypes, + Attr_WorkloadType: sapProfile.WorkloadTypes, } result = append(result, profile) }