kopia lustrzana https://github.com/cyoung/stratux
Remove unused 'CPULoad' status variable.
rodzic
4fa548b380
commit
2df716f2f6
|
@ -1092,7 +1092,6 @@ type status struct {
|
|||
Uptime int64
|
||||
UptimeClock time.Time
|
||||
CPUTemp float32
|
||||
CPULoad string
|
||||
NetworkDataMessagesSent uint64
|
||||
NetworkDataMessagesSentNonqueueable uint64
|
||||
NetworkDataBytesSent uint64
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
|
|
Ładowanie…
Reference in New Issue