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

View File

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