cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sate...@apache.org
Subject [1/4] git commit: updated refs/heads/master-6-17-stable to 348f0ab
Date Tue, 25 Jun 2013 14:54:29 GMT
Updated Branches:
  refs/heads/master-6-17-stable 1a2b57052 -> 348f0ab02


CLOUDSTACK-3151 [VMware] CloudStack does case sensitive processing of names of VMware objects.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>


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

Branch: refs/heads/master-6-17-stable
Commit: 9deefc2121995040930e1b87bf83f378f7c3743c
Parents: 1a2b570
Author: Sateesh Chodapuneedi <sateesh@apache.org>
Authored: Mon Jun 24 11:06:16 2013 +0530
Committer: Sateesh Chodapuneedi <sateesh@apache.org>
Committed: Tue Jun 25 19:50:41 2013 +0530

----------------------------------------------------------------------
 .../src/com/cloud/hypervisor/vmware/util/VmwareClient.java    | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/9deefc21/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareClient.java
----------------------------------------------------------------------
diff --git a/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareClient.java b/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareClient.java
index 87c7909..1b75e2d 100644
--- a/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareClient.java
+++ b/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareClient.java
@@ -24,17 +24,17 @@ import java.util.Map;
 import java.util.StringTokenizer;
 
 import javax.net.ssl.HostnameVerifier;
-import javax.net.ssl.SSLSession;
 import javax.net.ssl.HttpsURLConnection;
+import javax.net.ssl.SSLSession;
 import javax.xml.ws.BindingProvider;
 import javax.xml.ws.handler.MessageContext;
 
-
 import com.vmware.vim25.DynamicProperty;
 import com.vmware.vim25.InvalidCollectorVersionFaultMsg;
 import com.vmware.vim25.InvalidPropertyFaultMsg;
 import com.vmware.vim25.LocalizedMethodFault;
 import com.vmware.vim25.ManagedObjectReference;
+import com.vmware.vim25.ObjectContent;
 import com.vmware.vim25.ObjectSpec;
 import com.vmware.vim25.ObjectUpdate;
 import com.vmware.vim25.ObjectUpdateKind;
@@ -51,7 +51,6 @@ import com.vmware.vim25.TraversalSpec;
 import com.vmware.vim25.UpdateSet;
 import com.vmware.vim25.VimPortType;
 import com.vmware.vim25.VimService;
-import com.vmware.vim25.ObjectContent;
 
 /**
  * A wrapper class to handle Vmware vsphere connection and disconnection.
@@ -554,7 +553,7 @@ public class VmwareClient {
             if (type == null || type.equals(mor.getType())) {
                 if (propary.size() > 0) {
                     String propval = (String) propary.get(0).getVal();
-                    if (propval != null && name.equals(propval))
+                    if (propval != null && name.equalsIgnoreCase(propval))
                         return mor;
                 }
             }


Mime
View raw message