This is an automated email from the ASF dual-hosted git repository.
arshad 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 f819566e3c AMBARI-26183: Fix Redirection Issue of cluster creation
flow (#3847)
f819566e3c is described below
commit f819566e3ca342b512d40c919e64694b340e1cd8
Author: vanshuhassija <[email protected]>
AuthorDate: Wed Oct 16 22:19:15 2024 +0530
AMBARI-26183: Fix Redirection Issue of cluster creation flow (#3847)
Signed-off-by: Mohammad Arshad <[email protected]>
---
ambari-web/app/routes/installer.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ambari-web/app/routes/installer.js
b/ambari-web/app/routes/installer.js
index 34812e0e20..4abc920222 100644
--- a/ambari-web/app/routes/installer.js
+++ b/ambari-web/app/routes/installer.js
@@ -42,7 +42,7 @@ module.exports = Em.Route.extend(App.RouterRedirections, {
if (App.isAuthorized('AMBARI.ADD_DELETE_CLUSTERS')) {
router.get('mainController').stopPolling();
Em.run.next(function () {
- App.clusterStatus.updateFromServer().then(function () {
+ App.clusterStatus.updateFromServer().complete(function () {
var currentClusterStatus = App.clusterStatus.get('value');
//@TODO: Clean up following states. Navigation should be
done solely via currentStep stored in the localDb and API persist endpoint.
// Actual currentStep value for the installer
controller should always remain in sync with localdb and at persist store in
the server.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]