ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sangee...@apache.org
Subject ambari git commit: AMBARI-19729: Workflow Manager: Path does not get set to selected directory when creating FS action node. (sangeetar)
Date Thu, 26 Jan 2017 21:20:50 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 7dae895f2 -> 613876528


AMBARI-19729: Workflow Manager: Path does not get set to selected directory when creating
FS action node. (sangeetar)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/61387652
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/61387652
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/61387652

Branch: refs/heads/branch-2.5
Commit: 613876528bdc315bfc563ea7344910d54302bd44
Parents: 7dae895
Author: Sangeeta Ravindran <sangeetar@apache.org>
Authored: Thu Jan 26 13:20:11 2017 -0800
Committer: Sangeeta Ravindran <sangeetar@apache.org>
Committed: Thu Jan 26 13:20:11 2017 -0800

----------------------------------------------------------------------
 .../src/main/resources/ui/app/components/prepare-config-fs.js    | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/61387652/contrib/views/wfmanager/src/main/resources/ui/app/components/prepare-config-fs.js
----------------------------------------------------------------------
diff --git a/contrib/views/wfmanager/src/main/resources/ui/app/components/prepare-config-fs.js
b/contrib/views/wfmanager/src/main/resources/ui/app/components/prepare-config-fs.js
index ba9b91e..15592a4 100644
--- a/contrib/views/wfmanager/src/main/resources/ui/app/components/prepare-config-fs.js
+++ b/contrib/views/wfmanager/src/main/resources/ui/app/components/prepare-config-fs.js
@@ -32,9 +32,7 @@ export default Ember.Component.extend({
       var filePathModel = this.get('filePathModel');
       if(filePathModel && filePathModel.hasOwnProperty("index") && filePathModel.hasOwnProperty("property")){
         var fileOperation = this.get('fsOps').objectAt(filePathModel.index);
-        var settings = fileOperation.settings;
-        Ember.set(settings, filePathModel.property, fileName);
-        Ember.set(fileOperation, "settings", settings);
+        Ember.set(fileOperation, filePathModel.property, fileName);
       }else{
         this.set(this.get('filePathModel'), fileName);
       }


Mime
View raw message