cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wid...@apache.org
Subject git commit: updated refs/heads/master to 95daa14
Date Wed, 12 Nov 2014 15:54:50 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 69ee01af9 -> 95daa14e2


CLOUDSTACK-7583: Fix NPE caused by previous commit


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

Branch: refs/heads/master
Commit: 95daa14e2ac4bec09cfad890220e98eaa577c134
Parents: 69ee01a
Author: Wido den Hollander <wido@widodh.nl>
Authored: Wed Nov 12 16:54:20 2014 +0100
Committer: Wido den Hollander <wido@widodh.nl>
Committed: Wed Nov 12 16:54:20 2014 +0100

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/95daa14e/server/src/com/cloud/server/StatsCollector.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/server/StatsCollector.java b/server/src/com/cloud/server/StatsCollector.java
index 40f78dd..cd4475f 100755
--- a/server/src/com/cloud/server/StatsCollector.java
+++ b/server/src/com/cloud/server/StatsCollector.java
@@ -260,7 +260,7 @@ public class StatsCollector extends ManagerBase implements ComponentMethodInterc
 
         /* URI to send statistics to. Currently only Graphite is supported */
         String externalStatsUri = configs.get("stats.output.uri");
-        if (externalStatsUri != null) {
+        if (externalStatsUri != null && !externalStatsUri.equals("")) {
             try {
                 URI uri = new URI(externalStatsUri);
                 String scheme = uri.getScheme();


Mime
View raw message