ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nc...@apache.org
Subject [27/49] ambari git commit: AMBARI-19729: Workflow Manager: Path does not get set to selected directory when creating FS action node. (sangeetar)
Date Fri, 27 Jan 2017 18:17:38 GMT
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/828e24f0
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/828e24f0
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/828e24f0

Branch: refs/heads/branch-dev-patch-upgrade
Commit: 828e24f063820b6366651410071701067338bc7d
Parents: e8dc698
Author: Sangeeta Ravindran <sangeetar@apache.org>
Authored: Thu Jan 26 13:40:53 2017 -0800
Committer: Sangeeta Ravindran <sangeetar@apache.org>
Committed: Thu Jan 26 13:40:53 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/828e24f0/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