YARN-8753. [UI2] Lost nodes representation missing from Nodemanagers Chart. Contributed by Yesha Vora.

This commit is contained in:
Sunil G 2018-10-11 16:15:25 +05:30
parent d3da741fa2
commit 8a37983990
1 changed files with 5 additions and 1 deletions

View File

@ -97,8 +97,12 @@ export default DS.Model.extend({
label: "Decomissioned",
value: this.get("decommissionedNodes")
});
arr.push({
label: "Lost",
value: this.get("lostNodes")
});
return arr;
}.property("activeNodes", "unhealthyNodes", "decommissioningNodes", "decommissionedNodes"),
}.property("activeNodes", "unhealthyNodes", "decommissioningNodes", "decommissionedNodes", "lostNodes"),
getMemoryDataForDonutChart: function() {
var type = "MB";