Skip to content

Commit

Permalink
Fix sap profile datasource warning (#5779)
Browse files Browse the repository at this point in the history
  • Loading branch information
ismirlia authored Nov 18, 2024
1 parent e016d1b commit cd54467
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ibm/service/power/data_source_ibm_pi_sap_profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
2 changes: 1 addition & 1 deletion ibm/service/power/data_source_ibm_pi_sap_profiles.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit cd54467

Please sign in to comment.