eagle-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From haoch <...@git.apache.org>
Subject [GitHub] eagle pull request #840: [EAGLE-924]urls to healthy and unhealthy region-ser...
Date Mon, 27 Feb 2017 10:32:23 GMT
Github user haoch commented on a diff in the pull request:

    https://github.com/apache/eagle/pull/840#discussion_r103176287
  
    --- Diff: eagle-metric/eagle-hbase-web/src/main/webapp/app/apps/hbase/ctrls/overview.js
---
    @@ -59,7 +59,10 @@
     
     				$scope.site = $wrapState.param.siteId;
     				var result = cache[name] || activeMasterInfo._promise.then(function (res) {
    -						var hostname = cache[hostname] = cache[hostname] || res[0].tags.hostname;
    +						if(typeof res[0].tags === 'undefined') {
    --- End diff --
    
    Maybe it possible:  `res.length == 0`?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message