vmware / go-vcloud-director

Golang SDK for VMware Cloud Director
Other
80 stars 76 forks source link

Add ResourcePoolRefs read support for AdminVdc type #494

Closed Didainius closed 2 years ago

Didainius commented 2 years ago

This PR builds on top of #483 to fix the problem with AdminVdc.ResourcePoolRefs read capabilities (this is a read-only field).

There is a Go marshaling problem https://github.com/golang/go/issues/9519 which makes marshaling/unmarshaling non symmetric, but as this field is read-only - we care about reading it. So the goal is to:

Test go test -tags "org vdc" -check.vv -timeout=255m . passed

Closes #483