ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yus...@apache.org
Subject ambari git commit: AMBARI-8239. Alerts are reporting timestamps incorrectly. (yusaku)
Date Sun, 09 Nov 2014 17:27:59 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk ce06152e2 -> 551fd3c64


AMBARI-8239. Alerts are reporting timestamps incorrectly. (yusaku)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/551fd3c6
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/551fd3c6
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/551fd3c6

Branch: refs/heads/trunk
Commit: 551fd3c648b3a611f1f0132f52902ee772732181
Parents: ce06152
Author: Yusaku Sako <yusaku@hortonworks.com>
Authored: Sun Nov 9 09:14:19 2014 -0800
Committer: Yusaku Sako <yusaku@hortonworks.com>
Committed: Sun Nov 9 09:27:51 2014 -0800

----------------------------------------------------------------------
 ambari-web/app/controllers/main/alerts_controller.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/551fd3c6/ambari-web/app/controllers/main/alerts_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/alerts_controller.js b/ambari-web/app/controllers/main/alerts_controller.js
index 1744139..b28f711 100644
--- a/ambari-web/app/controllers/main/alerts_controller.js
+++ b/ambari-web/app/controllers/main/alerts_controller.js
@@ -145,11 +145,11 @@ App.MainAlertsController = Em.Controller.extend({
           id: _alert.description + "_" + _alert.host_name + "_" + _alert.serviceType,
           title: _alert.description,
           serviceType: _alert.service_name,
-          lastTime: _alert.status_time,
+          lastTime: _alert.last_status_time,
           status: this.get('statusNumberMap')[_alert.status] || "4",
           message: _alert.output,
           hostName: _alert.host_name,
-          lastCheck: _alert.last_status_time,
+          lastCheck: _alert.status_time,
           isLoaded: true
         }));
       }, this);


Mime
View raw message