You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bh...@apache.org on 2013/01/04 07:34:14 UTC

[4/5] git commit: api: Fix Parameter annotation in DeleteServiceOfferingCmd.java

api: Fix Parameter annotation in DeleteServiceOfferingCmd.java

Signed-off-by: Rohit Yadav <bh...@apache.org>


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

Branch: refs/heads/api_refactoring
Commit: 223bfc07c31a0952cd85d017611c3f0dae28f74a
Parents: 65b274d
Author: Rohit Yadav <bh...@apache.org>
Authored: Thu Jan 3 17:16:13 2013 -0800
Committer: Rohit Yadav <bh...@apache.org>
Committed: Thu Jan 3 22:32:46 2013 -0800

----------------------------------------------------------------------
 .../admin/offering/DeleteServiceOfferingCmd.java   |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/223bfc07/api/src/org/apache/cloudstack/api/command/admin/offering/DeleteServiceOfferingCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/admin/offering/DeleteServiceOfferingCmd.java b/api/src/org/apache/cloudstack/api/command/admin/offering/DeleteServiceOfferingCmd.java
index d5debdf..a8cab4e 100644
--- a/api/src/org/apache/cloudstack/api/command/admin/offering/DeleteServiceOfferingCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/admin/offering/DeleteServiceOfferingCmd.java
@@ -16,8 +16,8 @@
 // under the License.
 package org.apache.cloudstack.api.command.admin.offering;
 
+import com.cloud.offering.DiskOffering;
 import org.apache.cloudstack.api.*;
-import org.apache.cloudstack.api.response.DomainResponse;
 import org.apache.log4j.Logger;
 
 import org.apache.cloudstack.api.APICommand;
@@ -33,7 +33,7 @@ public class DeleteServiceOfferingCmd extends BaseCmd{
     //////////////// API parameters /////////////////////
     /////////////////////////////////////////////////////
 
-    @Parameter(name=ApiConstants.ID, type=CommandType.UUID, entityType= DomainResponse.class,
+    @Parameter(name=ApiConstants.ID, type=CommandType.UUID, entityType=DiskOffering.class,
             required=true, description="the ID of the service offering")
     private Long id;