fix: Cleanup debug logging in ServerMonitoring
This commit is contained in:
1 parent
ce615e14a1
commit
c677509f22
1 file changed
+2
-1
@@ -211,7 +211,6 @@ class ServerMonitoring
|
||||
if (isset($data['stat']) && is_array($data['stat'])) {
|
||||
foreach ($data['stat'] as $row) {
|
||||
if (strpos($row['name'], '>>>uplink') !== false) {
|
||||
// value is accumulated bytes
|
||||
$bytesSent = (int) $row['value'];
|
||||
}
|
||||
if (strpos($row['name'], '>>>downlink') !== false) {
|
||||
@@ -219,6 +218,8 @@ class ServerMonitoring
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// SSH command failed or returned empty for X-Ray stats
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user