You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by yu...@apache.org on 2014/11/09 18:27:45 UTC

ambari git commit: AMBARI-8239. Alerts are reporting timestamps incorrectly. (yusaku)

Repository: ambari
Updated Branches:
  refs/heads/branch-1.7.0 71eb72ebd -> 04ae4d9d5


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/04ae4d9d
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/04ae4d9d
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/04ae4d9d

Branch: refs/heads/branch-1.7.0
Commit: 04ae4d9d5fbccec62cee22a20de1402dd5f4fd1d
Parents: 71eb72e
Author: Yusaku Sako <yu...@hortonworks.com>
Authored: Sun Nov 9 09:14:19 2014 -0800
Committer: Yusaku Sako <yu...@hortonworks.com>
Committed: Sun Nov 9 09:14:19 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/04ae4d9d/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 4535394..ea8c21e 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);