cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t..@apache.org
Subject git commit: updated refs/heads/master to 75a8c1c
Date Tue, 28 May 2013 10:52:34 GMT
Updated Branches:
  refs/heads/master 565d740e5 -> 75a8c1ca8


CLOUDSTACK-2712: updateHvCapability mapped to serviceOfferingResponse

response object of updateHypervisorCapabilities is set to
ServiceOfferingResponse

Signed-off-by: Prasanna Santhanam <tsp@apache.org>


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

Branch: refs/heads/master
Commit: 75a8c1ca8816df7c29aca6689f51c449b4b073b4
Parents: 565d740
Author: Prasanna Santhanam <tsp@apache.org>
Authored: Tue May 28 16:20:19 2013 +0530
Committer: Prasanna Santhanam <tsp@apache.org>
Committed: Tue May 28 16:22:06 2013 +0530

----------------------------------------------------------------------
 .../config/UpdateHypervisorCapabilitiesCmd.java    |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/75a8c1ca/api/src/org/apache/cloudstack/api/command/admin/config/UpdateHypervisorCapabilitiesCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/admin/config/UpdateHypervisorCapabilitiesCmd.java
b/api/src/org/apache/cloudstack/api/command/admin/config/UpdateHypervisorCapabilitiesCmd.java
index e2fe8a7..8728f91 100644
--- a/api/src/org/apache/cloudstack/api/command/admin/config/UpdateHypervisorCapabilitiesCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/admin/config/UpdateHypervisorCapabilitiesCmd.java
@@ -16,6 +16,8 @@
 // under the License.
 package org.apache.cloudstack.api.command.admin.config;
 
+import com.cloud.hypervisor.HypervisorCapabilities;
+import com.cloud.user.Account;
 import org.apache.cloudstack.api.APICommand;
 import org.apache.cloudstack.api.ApiConstants;
 import org.apache.cloudstack.api.ApiErrorCode;
@@ -23,13 +25,9 @@ import org.apache.cloudstack.api.BaseCmd;
 import org.apache.cloudstack.api.Parameter;
 import org.apache.cloudstack.api.ServerApiException;
 import org.apache.cloudstack.api.response.HypervisorCapabilitiesResponse;
-import org.apache.cloudstack.api.response.ServiceOfferingResponse;
 import org.apache.log4j.Logger;
 
-import com.cloud.hypervisor.HypervisorCapabilities;
-import com.cloud.user.Account;
-
-@APICommand(name = "updateHypervisorCapabilities", description="Updates a hypervisor capabilities.",
responseObject=ServiceOfferingResponse.class, since="3.0.0")
+@APICommand(name = "updateHypervisorCapabilities", description="Updates a hypervisor capabilities.",
responseObject=HypervisorCapabilitiesResponse.class, since="3.0.0")
 public class UpdateHypervisorCapabilitiesCmd extends BaseCmd {
     public static final Logger s_logger = Logger.getLogger(UpdateHypervisorCapabilitiesCmd.class.getName());
     private static final String s_name = "updatehypervisorcapabilitiesresponse";


Mime
View raw message