Skip to content

Commit

Permalink
Fix migration from v1tov2 for ds rc
Browse files Browse the repository at this point in the history
  • Loading branch information
hkantare authored and kavya498 committed Jan 30, 2025
1 parent aa987bd commit 4c34f81
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func dataSourceIBMResourceKeyRead(d *schema.ResourceData, meta interface{}) erro
return err
}
for _, key := range keys.Resources {
if &key.CRN == &crn {
if *key.SourceCRN == *crn {
filteredKeys = append(filteredKeys, key)
}
}
Expand Down

0 comments on commit 4c34f81

Please sign in to comment.