brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From drigod...@apache.org
Subject [1/4] brooklyn-server git commit: [BROOKLYN-516] Persist feed of WindowsPerformanceCounterSensors initializer
Date Thu, 08 Jun 2017 13:41:54 GMT
Repository: brooklyn-server
Updated Branches:
  refs/heads/master 42f1a5d82 -> 2a94137b7


[BROOKLYN-516] Persist feed of WindowsPerformanceCounterSensors initializer


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

Branch: refs/heads/master
Commit: b8a0fb59893f605d8ef20ce6e92d3de7f4a75f73
Parents: 381b7e6
Author: Valentin Aitken <bostko@gmail.com>
Authored: Thu Jun 8 13:00:07 2017 +0300
Committer: Valentin Aitken <bostko@gmail.com>
Committed: Thu Jun 8 13:00:07 2017 +0300

----------------------------------------------------------------------
 .../core/sensor/windows/WindowsPerformanceCounterSensors.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/b8a0fb59/software/winrm/src/main/java/org/apache/brooklyn/core/sensor/windows/WindowsPerformanceCounterSensors.java
----------------------------------------------------------------------
diff --git a/software/winrm/src/main/java/org/apache/brooklyn/core/sensor/windows/WindowsPerformanceCounterSensors.java
b/software/winrm/src/main/java/org/apache/brooklyn/core/sensor/windows/WindowsPerformanceCounterSensors.java
index 20f04db..9f9e94d 100644
--- a/software/winrm/src/main/java/org/apache/brooklyn/core/sensor/windows/WindowsPerformanceCounterSensors.java
+++ b/software/winrm/src/main/java/org/apache/brooklyn/core/sensor/windows/WindowsPerformanceCounterSensors.java
@@ -83,6 +83,6 @@ public class WindowsPerformanceCounterSensors implements EntityInitializer
{
             }
             builder.addSensor(sensorConfig.get("counter"), Sensors.newSensor(clazz, name,
sensorConfig.get("description")));
         }
-        builder.build();
+        entity.addFeed(builder.build());
     }
 }


Mime
View raw message