VPC: fixed listPrivateGateways by id
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/79d277c3 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/79d277c3 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/79d277c3 Branch: refs/heads/vpc Commit: 79d277c30d84114817cfb4693ac2acbc630a0c48 Parents: ef8208a Author: Alena Prokharchyk <[email protected]> Authored: Wed Jul 11 13:22:50 2012 -0700 Committer: Alena Prokharchyk <[email protected]> Committed: Wed Jul 11 13:22:50 2012 -0700 ---------------------------------------------------------------------- .../cloud/api/commands/ListPrivateGatewaysCmd.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/79d277c3/api/src/com/cloud/api/commands/ListPrivateGatewaysCmd.java ---------------------------------------------------------------------- diff --git a/api/src/com/cloud/api/commands/ListPrivateGatewaysCmd.java b/api/src/com/cloud/api/commands/ListPrivateGatewaysCmd.java index 32767ca..da252d1 100644 --- a/api/src/com/cloud/api/commands/ListPrivateGatewaysCmd.java +++ b/api/src/com/cloud/api/commands/ListPrivateGatewaysCmd.java @@ -35,7 +35,7 @@ public class ListPrivateGatewaysCmd extends BaseListProjectAndAccountResourcesCm ///////////////////////////////////////////////////// //////////////// API parameters ///////////////////// ///////////////////////////////////////////////////// - @IdentityMapper(entityTableName="static_routes") + @IdentityMapper(entityTableName="vpc_gateways") @Parameter(name=ApiConstants.ID, type=CommandType.LONG, description="list private gateway by id") private Long id;
