mitchell852 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_r384172206
##########
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:
this doesn't seem to be working. i know i have 6 reported servers and it
shows `0` in the UI.
----------------------------------------------------------------
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