SOLR-9969: Plugins/Stats section of the UI doesn't display empty metric types

This commit is contained in:
Tomas Fernandez Lobbe 2017-01-25 14:26:48 -08:00
parent 1b80691f28
commit ae269f1316
2 changed files with 4 additions and 3 deletions

View File

@ -146,9 +146,9 @@ Apache UIMA 2.3.1
Apache ZooKeeper 3.4.6
Jetty 9.3.14.v20161028
(No Changes)
Bug Fixes
----------------------
* SOLR-9969: "Plugin/Stats" section of the UI doesn't display empty metric types (Tomás Fernández Löbbe)
================== 6.4.0 ==================

View File

@ -88,6 +88,7 @@ var getPluginTypes = function(data, selected) {
var key = mbeans[i];
var lower = key.toLowerCase();
var plugins = getPlugins(mbeans[i+1]);
if (plugins.length == 0) continue;
keys.push({name: key,
selected: lower == selected,
changes: 0,