This is an automated email from the ASF dual-hosted git repository.

ababiichuk pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 5f6c403  AMBARI-23608 Unable to update credentials of a remotely 
registered cluster. (ababiichuk)
5f6c403 is described below

commit 5f6c403e9bd4203175b45d1702d640b78604b02d
Author: ababiichuk <[email protected]>
AuthorDate: Wed Apr 18 13:51:45 2018 +0300

    AMBARI-23608 Unable to update credentials of a remotely registered cluster. 
(ababiichuk)
---
 .../app/scripts/controllers/remoteClusters/RemoteClustersEditCtrl.js    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/remoteClusters/RemoteClustersEditCtrl.js
 
b/ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/remoteClusters/RemoteClustersEditCtrl.js
index 7dbe103..74cb0f9 100644
--- 
a/ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/remoteClusters/RemoteClustersEditCtrl.js
+++ 
b/ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/remoteClusters/RemoteClustersEditCtrl.js
@@ -80,7 +80,7 @@ angular.module('ambariAdminConsole')
 
             RemoteCluster.edit(payload, config).then(function(data) {
                 Alert.success($t('views.alerts.credentialsUpdated'));
-                $scope.form.passwordChangeForm.$setPristine();
+                $scope.form.passwordChangeForm = {};
               })
               .catch(function(data) {
                 console.log(data);

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to