From da99ac7e93722bedd4fca1dd6c992140fcf927e1 Mon Sep 17 00:00:00 2001 From: Szilard Nemeth Date: Thu, 13 Feb 2020 16:28:51 +0100 Subject: [PATCH] YARN-10137. UIv2 build is broken in trunk. Contributed by Adam Antal --- .../src/main/webapp/app/controllers/yarn-app/logs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/controllers/yarn-app/logs.js b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/controllers/yarn-app/logs.js index ee04640359..b92890a42a 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/controllers/yarn-app/logs.js +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/controllers/yarn-app/logs.js @@ -75,7 +75,7 @@ export default Ember.Controller.extend({ ) { let historyContainers = []; historyProvider.get("content").forEach(function(o) { - if(!containerIdArr[o[fieldName]])) { + if(!containerIdArr[o[fieldName]]) { historyContainers.push(o); } }.bind(this));