fix: replace int64 with NestedCable in NestedPowerPort#68
Conversation
|
Any news? |
|
First, all changes should go via the Second, if you need this for a feature in https://github.com/e-breuninger/terraform-provider-netbox, you can just make the PR there and use a go replace so I can verify that this change actually works on all netbox versions supported by the netbox provider. Ideally, you would also extend/write a test case that verifies the erroneous behavior and then fix it in another commit (can be the same PR). As-is, I cannot judge whether this change makes sense and, if so, if it works on all relevant netbox versions. |
|
Thank you for your response. I didn't know the procedure. I did all changes and checks in my forks. I'm working toward doing the right way. |
|
PR updated with the correct process (modify |
I get this error:
The
NestedPowerPortmodel defines theCableasint64. Changed toNestedCable, as the API returns the cable JSON, not only theid.