rackspace / php-opencloud

The PHP SDK for OpenStack clouds
developer.rackspace.com
Other
451 stars 249 forks source link

certificateMappingList returned data not populating Resource #722

Closed Mortalife closed 6 years ago

Mortalife commented 6 years ago

There is an issue with the certificateMappingList() object as it does not correct populate a CertificateMapping Resource due to the API returning CertificateMapping information wrapped in a "certificateMapping" object.

Response: { "certificateMappings": [ { "certificateMapping": { "id": 123, "hostName": "rackspace.com" } }, { "certificateMapping": { "id": 124, "hostName": "*.rackspace.com" } } ] }

PHP Resource expected the following to correctly populate the object: { "certificateMappings": [ { "id": 123, "hostName": "rackspace.com" }, { "id": 124, "hostName": "*.rackspace.com" } ] }