This is an automated email from the ASF dual-hosted git repository.
wuzhiguo 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 d7c5abee90 AMBARI-25610: No warning message at changing repo name to
an invalid one (#3559)
d7c5abee90 is described below
commit d7c5abee9031a0752e0d8126d233502eb4a11c9e
Author: Yu Hou <[email protected]>
AuthorDate: Thu Nov 24 15:47:46 2022 +0800
AMBARI-25610: No warning message at changing repo name to an invalid one
(#3559)
---
.../src/main/resources/ui/admin-web/app/scripts/services/Stack.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/ambari-admin/src/main/resources/ui/admin-web/app/scripts/services/Stack.js
b/ambari-admin/src/main/resources/ui/admin-web/app/scripts/services/Stack.js
index 72a09e2300..d0d298b908 100644
--- a/ambari-admin/src/main/resources/ui/admin-web/app/scripts/services/Stack.js
+++ b/ambari-admin/src/main/resources/ui/admin-web/app/scripts/services/Stack.js
@@ -390,8 +390,8 @@ angular.module('ambariAdminConsole')
totalCalls--;
if (totalCalls === 0) deferred.resolve(invalidUrls);
})
- .catch(function (response, status, callback, params) {
- invalidUrls.push(params.repo);
+ .catch(function (response) {
+ invalidUrls.push(response.config.repo);
totalCalls--;
if (totalCalls === 0) deferred.resolve(invalidUrls);
});
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]