-
Notifications
You must be signed in to change notification settings - Fork 669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dnssvcs module was broken after SDK release. #4667
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks perfectly fine
Can you add test results after this change |
@hkantare Nothing is changed w.r.t. functionality, build was breaking and it is fixed and tested locally. Before fix
Below are the logs (After fix)
|
Do not merge it, we've explored one more issue which is impacting few UTs. |
@@ -348,7 +348,7 @@ func resourceIBMPrivateDNSResourceRecordRead(d *schema.ResourceData, meta interf | |||
d.Set(pdnsRecordModifiedOn, response.ModifiedOn) | |||
|
|||
if *response.Type == "SRV" { | |||
data := response.Rdata.(map[string]interface{}) | |||
data := response.Rdata | |||
d.Set(pdnsSrvPort, data["port"]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you abel to access data["port"] on interface type?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, There is no problem but i am fixing some other issue.
* Enabled argument updated in docs for PDNS glb resource * reverting the change made to main branch wrongly * Updated the terraform code to make it work with lastest sdk
Community Note
Relates OR Closes #0000
Output from acceptance testing:
Test result : Pass
Root Cause
It was because of change in DS in dns SDK.