Skip to content

Commit

Permalink
fix api response
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunchauhanibm authored and hkantare committed Jul 11, 2024
1 parent 1bf85f8 commit 2a11fe9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ibm/service/cis/data_source_ibm_cis_ruleset_versions.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func dataIBMCISRulesetVersionsRead(d *schema.ResourceData, meta interface{}) err
rulesetObj := flattenCISRulesets(*result.Result)

d.SetId(dataSourceCISRulesetsCheckID(d))
d.Set(CISRulesetsListOutput, rulesetObj)
d.Set(CISRulesetsObjectOutput, rulesetObj)
d.Set(cisID, crn)

} else {
Expand Down Expand Up @@ -149,7 +149,7 @@ func dataIBMCISRulesetVersionsRead(d *schema.ResourceData, meta interface{}) err
rulesetObj := flattenCISRulesets(*result.Result)

d.SetId(dataSourceCISRulesetsCheckID(d))
d.Set(CISRulesetsListOutput, rulesetObj)
d.Set(CISRulesetsObjectOutput, rulesetObj)
d.Set(cisID, crn)

} else {
Expand Down

0 comments on commit 2a11fe9

Please sign in to comment.