cloudstack-cloudmonkey
cloudstack-cloudmonkey copied to clipboard
Filter on parameter listing empty objects when filtered parameter doesn't exists
Apache CloudStack 🐵 CloudMonkey 6.5.0
(localcloud) 🐱 > list usagerecords startdate=2025-10-07 enddate=2025-10-10 type=6 usageid=2c218702-abff-46e8-bc8a-3e12fffa2188 filter=count
{
"count": 319,
"usagerecord": [
{},
{},
{},
{},
{},
{},
{},
...
{},
{},
{}
]
}
Expected:
(localcloud) 🐱 > list usagerecords startdate=2025-10-07 enddate=2025-10-10 type=6 usageid=2c218702-abff-46e8-bc8a-3e12fffa2188 filter=count
{
"count": 319
}