Saksham Srivastava created CLOUDSTACK-6884: ----------------------------------------------
Summary: List Capacity API always returns GPU capacity also even if type is different Key: CLOUDSTACK-6884 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6884 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Components: API Affects Versions: 4.4.0 Reporter: Saksham Srivastava Using cloudmonkey to test the API response: monkey# list capacity type=2 count = 2 capacity: capacitytotal = 5948946644992 capacityused = 1154143485952 percentused = 19.4 type = 2 zoneid = 7ea9a47c-7f39-4334-82e5-896a5d02aeb2 zonename = z1 ================================================================================ capacitytotal = 0 capacityused = 0 percentused = 0 type = 19 zoneid = 7ea9a47c-7f39-4334-82e5-896a5d02aeb2 zonename = z1 List capacity should not return GPU capacity if type other than 19 is passed. -- This message was sent by Atlassian JIRA (v6.2#6252)