YARN-7452. Decommissioning node default value to be zero in new YARN UI. Contributed by Vasudevan Skm.

This commit is contained in:
Sunil G 2017-11-11 16:52:31 +05:30
parent 2c2b7a3672
commit ff9f7fcf7f

View File

@ -89,7 +89,7 @@ export default DS.Model.extend({
});
arr.push({
label: "Decommissioning",
value: this.get("decommissioningNodes")
value: this.get("decommissioningNodes") || 0
});
arr.push({
label: "Decomissioned",