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/object_store to 47f6d65
Date Fri, 10 May 2013 19:49:29 GMT
Updated Branches:
  refs/heads/object_store 15fc4e137 -> 47f6d650f


fix vmware build


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

Branch: refs/heads/object_store
Commit: 47f6d650f81166c12b333f18e66d96e919d314b3
Parents: 15fc4e1
Author: Edison Su <sudison@gmail.com>
Authored: Fri May 10 12:48:49 2013 -0700
Committer: Edison Su <sudison@gmail.com>
Committed: Fri May 10 12:48:49 2013 -0700

----------------------------------------------------------------------
 .../hypervisor/vmware/resource/VmwareResource.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/47f6d650/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
----------------------------------------------------------------------
diff --git a/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
b/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
index f91786f..48b3b32 100755
--- a/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
+++ b/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
@@ -491,7 +491,7 @@ public class VmwareResource implements StoragePoolResource, ServerResource,
Vmwa
                 answer = execute((CheckS2SVpnConnectionsCommand) cmd);
             } else if (clz == ResizeVolumeCommand.class) {
                 return execute((ResizeVolumeCommand) cmd);
-            } else if (clz == StorageSubSystemCommand.class) {
+            } else if (cmd instanceof StorageSubSystemCommand) {
             	return this.storageHandler.handleStorageCommands((StorageSubSystemCommand)cmd);
             } else {
                 answer = Answer.createUnsupportedCommandAnswer(cmd);


Mime
View raw message