mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-2708: AutoScale listConditions response wrongly mapped
AutoScale - listConditions was mapped to CounterResponse instead of ConditionResponse Signed-off-by: Prasanna Santhanam <tsp@apache.org>
This commit is contained in:
parent
b03e419bf9
commit
a0d5b78e84
|
|
@ -17,9 +17,7 @@
|
|||
|
||||
package org.apache.cloudstack.api.command.user.autoscale;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import com.cloud.network.as.Condition;
|
||||
import org.apache.cloudstack.api.APICommand;
|
||||
import org.apache.cloudstack.api.ApiConstants;
|
||||
import org.apache.cloudstack.api.BaseListAccountResourcesCmd;
|
||||
|
|
@ -30,9 +28,10 @@ import org.apache.cloudstack.api.response.CounterResponse;
|
|||
import org.apache.cloudstack.api.response.ListResponse;
|
||||
import org.apache.log4j.Logger;
|
||||
|
||||
import com.cloud.network.as.Condition;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
@APICommand(name = "listConditions", description = "List Conditions for the specific user", responseObject = CounterResponse.class)
|
||||
@APICommand(name = "listConditions", description = "List Conditions for the specific user", responseObject = ConditionResponse.class)
|
||||
public class ListConditionsCmd extends BaseListAccountResourcesCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(ListConditionsCmd.class.getName());
|
||||
private static final String s_name = "listconditionsresponse";
|
||||
|
|
|
|||
Loading…
Reference in New Issue