mirror of https://github.com/apache/cloudstack.git
Don't return rate_limit for the network offering when the limit value is NULL
This commit is contained in:
parent
65a083b1db
commit
f8a1278a80
|
|
@ -2251,7 +2251,7 @@ public class ApiResponseHelper implements ResponseGenerator {
|
|||
response.setIsDefault(offering.isDefault());
|
||||
response.setSpecifyVlan(offering.getSpecifyVlan());
|
||||
response.setAvailability(offering.getAvailability().toString());
|
||||
response.setNetworkRate(ApiDBUtils.getNetworkRate(offering.getId()));
|
||||
response.setNetworkRate(offering.getRateMbps());
|
||||
|
||||
if (offering.getGuestType() != null) {
|
||||
response.setGuestIpType(offering.getGuestType().toString());
|
||||
|
|
|
|||
Loading…
Reference in New Issue