Closed jiekun closed 5 months ago
Describe the bug As described in the API doc: https://www.vultr.com/api/#tag/instances/operation/list-instances , the data structure of IPV6 related fields is an array.
Currently, govultr using 3 flat fields: https://github.com/vultr/govultr/blob/5125e02e715ae6eb3ce854f0e7116c7ce545a710/instance.go#L98
It looks like the docs are old and incorrect based on what's coming out of the API:
Thank you for the confirmation.
Describe the bug As described in the API doc: https://www.vultr.com/api/#tag/instances/operation/list-instances , the data structure of IPV6 related fields is an array.
Currently, govultr using 3 flat fields: https://github.com/vultr/govultr/blob/5125e02e715ae6eb3ce854f0e7116c7ce545a710/instance.go#L98