Add homelab service and system health monitoring
This commit is contained in:
@@ -18,7 +18,7 @@ func TestReadNetworkSnapshot(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
snapshot, interfaces, err := readNetworkSnapshot(path)
|
||||
snapshot, interfaces, details, err := readNetworkSnapshot(path)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
@@ -28,4 +28,7 @@ func TestReadNetworkSnapshot(t *testing.T) {
|
||||
if len(interfaces) != 2 {
|
||||
t.Fatalf("неожиданный список интерфейсов: %v", interfaces)
|
||||
}
|
||||
if len(details) != 2 {
|
||||
t.Fatalf("unexpected interface details: %+v", details)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user