cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edi...@apache.org
Subject git commit: updated refs/heads/4.2 to fe9f02c
Date Tue, 06 Aug 2013 20:31:31 GMT
Updated Branches:
  refs/heads/4.2 d284fd989 -> fe9f02c37


fix simulator


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

Branch: refs/heads/4.2
Commit: fe9f02c372be0f3b8e755afaea1fdb60d460fcbb
Parents: d284fd9
Author: Edison Su <sudison@gmail.com>
Authored: Tue Aug 6 13:30:52 2013 -0700
Committer: Edison Su <sudison@gmail.com>
Committed: Tue Aug 6 13:30:52 2013 -0700

----------------------------------------------------------------------
 .../simulator/src/com/cloud/resource/SimulatorStorageProcessor.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/fe9f02c3/plugins/hypervisors/simulator/src/com/cloud/resource/SimulatorStorageProcessor.java
----------------------------------------------------------------------
diff --git a/plugins/hypervisors/simulator/src/com/cloud/resource/SimulatorStorageProcessor.java
b/plugins/hypervisors/simulator/src/com/cloud/resource/SimulatorStorageProcessor.java
index 0131c1d..12c2733 100644
--- a/plugins/hypervisors/simulator/src/com/cloud/resource/SimulatorStorageProcessor.java
+++ b/plugins/hypervisors/simulator/src/com/cloud/resource/SimulatorStorageProcessor.java
@@ -65,6 +65,7 @@ public class SimulatorStorageProcessor implements StorageProcessor {
     public Answer cloneVolumeFromBaseTemplate(CopyCommand cmd) {
         VolumeObjectTO volume = new VolumeObjectTO();
         volume.setPath(UUID.randomUUID().toString());
+        volume.setSize(100);
         volume.setFormat(Storage.ImageFormat.RAW);
         return new CopyCmdAnswer(volume);
     }


Mime
View raw message