cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From weiz...@apache.org
Subject [27/50] [abbrv] git commit: updated refs/heads/disk_io_throttling to 691bc9d
Date Tue, 18 Jun 2013 07:58:27 GMT
LOUDSTACK-2914: handle situation when serviceProvider map is empty


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

Branch: refs/heads/disk_io_throttling
Commit: 952fa2464da9f10b63fbba869922ee735c231c42
Parents: bd69939
Author: Alena Prokharchyk <alena.prokharchyk@citrix.com>
Authored: Mon Jun 17 10:50:22 2013 -0700
Committer: Alena Prokharchyk <alena.prokharchyk@citrix.com>
Committed: Mon Jun 17 10:55:33 2013 -0700

----------------------------------------------------------------------
 server/src/com/cloud/configuration/ConfigurationManagerImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/952fa246/server/src/com/cloud/configuration/ConfigurationManagerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/configuration/ConfigurationManagerImpl.java b/server/src/com/cloud/configuration/ConfigurationManagerImpl.java
index 68745bf..12164a2 100755
--- a/server/src/com/cloud/configuration/ConfigurationManagerImpl.java
+++ b/server/src/com/cloud/configuration/ConfigurationManagerImpl.java
@@ -4007,7 +4007,7 @@ public class ConfigurationManagerImpl extends ManagerBase implements
Configurati
             }
         }
         
-        if (serviceProviderMap.containsKey(Service.Lb) && !internalLb &&
!publicLb) {
+        if (serviceProviderMap != null && serviceProviderMap.containsKey(Service.Lb)
&& !internalLb && !publicLb) {
             //if not specified, default public lb to true
             publicLb = true;
         }


Mime
View raw message