openstack4j icon indicating copy to clipboard operation
openstack4j copied to clipboard

Mismatched NovaLimits payload

Open manuelmazzuola opened this issue 6 years ago • 0 comments

I've met a problem when I try to retrieve the project limits by calling client.compute().quotaSets().limits(). The exception I get is MismatchedInputException: Root name 'links' does not match expected ('limits') for type [simple type, class org.openstack4j.openstack.compute.domain.NovaLimits]. The response payload is

{
    "limits": [],
    "links": {
        "next": null,
        "previous": null,
        "self": "http://144.76.12.34/identity/v3/limits"
    }
}

openstack4j version is 3.2.0 openstack version is Queens

manuelmazzuola avatar Mar 12 '19 09:03 manuelmazzuola