cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chirad...@apache.org
Subject git commit: updated refs/heads/master to 25fa21f
Date Wed, 07 Aug 2013 18:28:17 GMT
Updated Branches:
  refs/heads/master efde50fa1 -> 25fa21f19


Get QuickCloud working again

Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>


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

Branch: refs/heads/master
Commit: 25fa21f190a93b04a47d0f8fba9962689a8841eb
Parents: efde50f
Author: Donal Lafferty <donal.lafferty@citrix.com>
Authored: Wed Aug 7 11:21:24 2013 -0700
Committer: Chiradeep Vittal <chiradeep@apache.org>
Committed: Wed Aug 7 11:22:32 2013 -0700

----------------------------------------------------------------------
 .../cloudstack/storage/resource/NfsSecondaryStorageResource.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/25fa21f1/services/secondary-storage/src/org/apache/cloudstack/storage/resource/NfsSecondaryStorageResource.java
----------------------------------------------------------------------
diff --git a/services/secondary-storage/src/org/apache/cloudstack/storage/resource/NfsSecondaryStorageResource.java
b/services/secondary-storage/src/org/apache/cloudstack/storage/resource/NfsSecondaryStorageResource.java
index 89ce8e0..0da9451 100755
--- a/services/secondary-storage/src/org/apache/cloudstack/storage/resource/NfsSecondaryStorageResource.java
+++ b/services/secondary-storage/src/org/apache/cloudstack/storage/resource/NfsSecondaryStorageResource.java
@@ -1366,7 +1366,7 @@ public class NfsSecondaryStorageResource extends ServerResourceBase
implements S
 
     private Answer execute(ListTemplateCommand cmd) {
         if (!_inSystemVM) {
-            return new Answer(cmd, true, null);
+           return new ListTemplateAnswer(null, null);
         }
 
         DataStoreTO store = cmd.getDataStore();
@@ -1391,7 +1391,7 @@ public class NfsSecondaryStorageResource extends ServerResourceBase
implements S
 
     private Answer execute(ListVolumeCommand cmd) {
         if (!_inSystemVM) {
-            return new Answer(cmd, true, null);
+            return new ListVolumeAnswer(cmd.getSecUrl(), null);
         }
         DataStoreTO store = cmd.getDataStore();
         if (store instanceof NfsTO) {


Mime
View raw message