Skip to content

Commit 4c34f81

Browse files
hkantarekavya498
authored andcommitted
Fix migration from v1tov2 for ds rc
1 parent aa987bd commit 4c34f81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ibm/service/resourcecontroller/data_source_ibm_resource_key.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ func dataSourceIBMResourceKeyRead(d *schema.ResourceData, meta interface{}) erro
137137
return err
138138
}
139139
for _, key := range keys.Resources {
140-
if &key.CRN == &crn {
140+
if *key.SourceCRN == *crn {
141141
filteredKeys = append(filteredKeys, key)
142142
}
143143
}

0 commit comments

Comments
 (0)