You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ha...@apache.org on 2021/01/15 11:35:15 UTC
[ambari] branch branch-2.7 updated: AMBARI-25610. No warning
message at changing repo name to an invalid one (dpidhaiets via dgrinenko)
(#3278)
This is an automated email from the ASF dual-hosted git repository.
hapylestat pushed a commit to branch branch-2.7
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/branch-2.7 by this push:
new fe3ccab AMBARI-25610. No warning message at changing repo name to an invalid one (dpidhaiets via dgrinenko) (#3278)
fe3ccab is described below
commit fe3ccab860e87b5166a1397e72f2102a89694fa2
Author: pidhaietsdp <62...@users.noreply.github.com>
AuthorDate: Fri Jan 15 13:35:03 2021 +0200
AMBARI-25610. No warning message at changing repo name to an invalid one (dpidhaiets via dgrinenko) (#3278)
---
.../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 714d0b9..245f16b 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
@@ -369,8 +369,8 @@ angular.module('ambariAdminConsole')
).then(function () {
totalCalls--;
if (totalCalls === 0) deferred.resolve(invalidUrls);
- }, function (response, status, callback, params) {
- invalidUrls.push(params.repo);
+ }, function (response) {
+ invalidUrls.push(response.config.repo);
totalCalls--;
if (totalCalls === 0) deferred.resolve(invalidUrls);
});