Skip to content

Commit f763225

Browse files
authored
reviewable fix (#598)
1 parent d510570 commit f763225

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spectrocloud/resource_cluster_profile.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ func flattenProfileVariables(d *schema.ResourceData, pv []*models.V1Variable) ([
521521
mapV := cv.(map[string]interface{})
522522
for _, va := range variables {
523523
vs := va.(map[string]interface{})
524-
if mapV["name"].(string) == ptr.String(vs["name"].(*string)) {
524+
if mapV["name"].(string) == String(vs["name"].(*string)) {
525525
sortedVariables = append(sortedVariables, va)
526526
}
527527
}

0 commit comments

Comments
 (0)