ocket8888 commented on a change in pull request #4415: Updated Traffic Portal 
to use TO API v2.0
URL: https://github.com/apache/trafficcontrol/pull/4415#discussion_r384200191
 
 

 ##########
 File path: 
traffic_portal/app/src/common/modules/widget/dashboardStats/WidgetDashboardStatsController.js
 ##########
 @@ -64,9 +64,18 @@ var WidgetDashboardStatsController = function($scope, 
$interval, $filter, locati
        };
 
        var getServerCount = function() {
-               serverService.getEdgeStatusCount()
+               serverService.getServers()
                        .then(function(result) {
-                               serverCount = result;
+                               serverCount.set("ONLINE", 0);
 
 Review comment:
   hmm... worked for me. I'll look for it tomorrow

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to