Skip to content

Commit 30e2c3a

Browse files
committed
Fix responseObject on ListTrafficTypesCmd
1 parent 9b0aac2 commit 30e2c3a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

api/src/main/java/org/apache/cloudstack/api/command/admin/usage/ListTrafficTypesCmd.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,13 @@
2727
import org.apache.cloudstack.api.Parameter;
2828
import org.apache.cloudstack.api.response.ListResponse;
2929
import org.apache.cloudstack.api.response.PhysicalNetworkResponse;
30-
import org.apache.cloudstack.api.response.ProviderResponse;
3130
import org.apache.cloudstack.api.response.TrafficTypeResponse;
3231

3332
import com.cloud.network.PhysicalNetworkTrafficType;
3433
import com.cloud.user.Account;
3534
import com.cloud.utils.Pair;
3635

37-
@APICommand(name = "listTrafficTypes", description = "Lists traffic types of a given physical network.", responseObject = ProviderResponse.class, since = "3.0.0",
36+
@APICommand(name = "listTrafficTypes", description = "Lists traffic types of a given physical network.", responseObject = TrafficTypeResponse.class, since = "3.0.0",
3837
requestHasSensitiveInfo = false, responseHasSensitiveInfo = false)
3938
public class ListTrafficTypesCmd extends BaseListCmd {
4039
public static final Logger s_logger = Logger.getLogger(ListTrafficTypesCmd.class.getName());

0 commit comments

Comments
 (0)