region id is not Long, its integer changing the regionId parameter in
ListGlobalLoadBalancerRuleCmd.java


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/ef2983cc
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/ef2983cc
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/ef2983cc

Branch: refs/heads/master
Commit: ef2983cc12e909696be1c0c390c14d22cd4bebe1
Parents: 120d834
Author: Murali Reddy <murali.re...@citrix.com>
Authored: Tue Apr 9 19:23:13 2013 +0530
Committer: Murali Reddy <murali.re...@citrix.com>
Committed: Tue Apr 9 19:23:13 2013 +0530

----------------------------------------------------------------------
 .../ha/gslb/ListGlobalLoadBalancerRuleCmd.java     |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ef2983cc/api/src/org/apache/cloudstack/api/command/user/region/ha/gslb/ListGlobalLoadBalancerRuleCmd.java
----------------------------------------------------------------------
diff --git 
a/api/src/org/apache/cloudstack/api/command/user/region/ha/gslb/ListGlobalLoadBalancerRuleCmd.java
 
b/api/src/org/apache/cloudstack/api/command/user/region/ha/gslb/ListGlobalLoadBalancerRuleCmd.java
index dae861a..d75de57 100644
--- 
a/api/src/org/apache/cloudstack/api/command/user/region/ha/gslb/ListGlobalLoadBalancerRuleCmd.java
+++ 
b/api/src/org/apache/cloudstack/api/command/user/region/ha/gslb/ListGlobalLoadBalancerRuleCmd.java
@@ -45,7 +45,7 @@ public class ListGlobalLoadBalancerRuleCmd extends 
BaseListTaggedResourcesCmd {
     @Parameter(name = ApiConstants.ID, type = CommandType.UUID, entityType = 
GlobalLoadBalancerResponse.class, description = "the ID of the global load 
balancer rule")
     private Long id;
 
-    @Parameter(name = ApiConstants.REGION_ID, type = CommandType.UUID, 
entityType = RegionResponse.class, description = "region ID")
+    @Parameter(name = ApiConstants.REGION_ID, type = CommandType.INTEGER, 
entityType = RegionResponse.class, description = "region ID")
     private Integer regionId;
 
     // ///////////////////////////////////////////////////

Reply via email to