Added net to be returned from api in backend for infra.
This commit is contained in:
1 parent
729f107af2
commit
5c147562b3
3 files changed
+103
-1
No files matched your search
@@ -232,7 +232,7 @@ class StatusService {
|
||||
}
|
||||
|
||||
if (type === "hardware") {
|
||||
const { cpu, memory, disk, host } = payload?.data ?? {};
|
||||
const { cpu, memory, disk, host, net } = payload?.data ?? {};
|
||||
const { errors } = payload?.errors ?? [];
|
||||
check.cpu = cpu ?? {};
|
||||
check.memory = memory ?? {};
|
||||
@@ -240,6 +240,7 @@ class StatusService {
|
||||
check.host = host ?? {};
|
||||
check.errors = errors ?? [];
|
||||
check.capture = payload?.capture ?? {};
|
||||
check.net = net ?? {};
|
||||
}
|
||||
return check;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user