incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mlsoren...@apache.org
Subject [38/50] git commit: api: Fix annotations on iso related cmd
Date Sat, 26 Jan 2013 05:25:09 GMT
api: Fix annotations on iso related cmd

Signed-off-by: Rohit Yadav <bhaisaab@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/531c2f03
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/531c2f03
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/531c2f03

Branch: refs/heads/add_remove_nics
Commit: 531c2f030c883a9c9a81b20ce1d85380e5a61739
Parents: f1aee2c
Author: Rohit Yadav <bhaisaab@apache.org>
Authored: Thu Jan 24 10:32:35 2013 -0800
Committer: Rohit Yadav <bhaisaab@apache.org>
Committed: Thu Jan 24 10:33:04 2013 -0800

----------------------------------------------------------------------
 .../api/command/user/iso/AttachIsoCmd.java         |    2 +-
 .../api/command/user/iso/DetachIsoCmd.java         |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/531c2f03/api/src/org/apache/cloudstack/api/command/user/iso/AttachIsoCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/user/iso/AttachIsoCmd.java b/api/src/org/apache/cloudstack/api/command/user/iso/AttachIsoCmd.java
index 2a0b2c6..89e7292 100644
--- a/api/src/org/apache/cloudstack/api/command/user/iso/AttachIsoCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/iso/AttachIsoCmd.java
@@ -47,7 +47,7 @@ public class AttachIsoCmd extends BaseAsyncCmd {
             required=true, description="the ID of the ISO file")
     private Long id;
 
-    @Parameter(name=ApiConstants.VIRTUAL_MACHINE_ID, type=CommandType.UUID, entityType =
TemplateResponse.class,
+    @Parameter(name=ApiConstants.VIRTUAL_MACHINE_ID, type=CommandType.UUID, entityType =
UserVmResponse.class,
             required=true, description="the ID of the virtual machine")
     private Long virtualMachineId;
 

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/531c2f03/api/src/org/apache/cloudstack/api/command/user/iso/DetachIsoCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/user/iso/DetachIsoCmd.java b/api/src/org/apache/cloudstack/api/command/user/iso/DetachIsoCmd.java
index c8a87cb..2a6ecf4 100644
--- a/api/src/org/apache/cloudstack/api/command/user/iso/DetachIsoCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/iso/DetachIsoCmd.java
@@ -42,7 +42,7 @@ public class DetachIsoCmd extends BaseAsyncCmd {
     //////////////// API parameters /////////////////////
     /////////////////////////////////////////////////////
 
-    @Parameter(name=ApiConstants.VIRTUAL_MACHINE_ID, type=CommandType.UUID, entityType =
TemplateResponse.class,
+    @Parameter(name=ApiConstants.VIRTUAL_MACHINE_ID, type=CommandType.UUID, entityType =
UserVmResponse.class,
             required=true, description="The ID of the virtual machine")
     private Long virtualMachineId;
 


Mime
View raw message