Remove unused 'CPULoad' status variable.

merlin
cyoung 2017-10-11 08:40:10 -04:00
rodzic 4fa548b380
commit 2df716f2f6
3 zmienionych plików z 0 dodań i 3 usunięć

Wyświetl plik

@ -1092,7 +1092,6 @@ type status struct {
Uptime int64
UptimeClock time.Time
CPUTemp float32
CPULoad string
NetworkDataMessagesSent uint64
NetworkDataMessagesSentNonqueueable uint64
NetworkDataBytesSent uint64

Wyświetl plik

@ -117,7 +117,6 @@ Stratux makes available a webserver to retrieve statistics which may be useful t
"Uptime": 323020,
"UptimeClock": "0001-01-01T00:05:23.02Z",
"CPUTemp": 47.774,
"CPULoad": "",
"NetworkDataMessagesSent": 0,
"NetworkDataMessagesSentNonqueueable": 0,
"NetworkDataBytesSent": 0,

Wyświetl plik

@ -110,7 +110,6 @@ function StatusCtrl($rootScope, $scope, $state, $http, $interval) {
$scope.UAT_PIREP_total = status.UAT_PIREP_total;
$scope.UAT_NOTAM_total = status.UAT_NOTAM_total;
$scope.UAT_OTHER_total = status.UAT_OTHER_total;
$scope.CPULoad = status.CPULoad;
// Errors array.
if (status.Errors.length > 0) {
$scope.visible_errors = true;