Skip to content

Commit 02d01e4

Browse files
committed
Fixed mistake introduced when combining all the jmx calls for sysinfo
1 parent f547c0d commit 02d01e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/scripts/controllers/SysinfoController.coffee

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ angular.module('neo4jApp.controllers')
5454
$scope.sysinfo.cache.available = true
5555
for a in r.attributes
5656
$scope.sysinfo.cache[a.name] = a.value
57-
else if "org.neo4j:instance=kernel#0,name=Transactions"
57+
else if r.name == "org.neo4j:instance=kernel#0,name=Transactions"
5858
$scope.sysinfo.tx.available = true
5959
for a in r.attributes
6060
$scope.sysinfo.tx[a.name] = a.value
61-
else if "org.neo4j:instance=kernel#0,name=High Availability"
61+
else if r.name == "org.neo4j:instance=kernel#0,name=High Availability"
6262
$scope.sysinfo.ha.clustered = true
6363
for a in r.attributes
6464
if a.name is "InstancesInCluster"

0 commit comments

Comments
 (0)