mirror of
https://github.com/henrygd/beszel.git
synced 2026-10-02 06:17:47 +02:00
fix(agent): use nvethernet MAC counters (#2090)
Co-authored-by: hank <hank@henrygd.me>
This commit is contained in:
11
agent/network_counters_unsupported.go
Normal file
11
agent/network_counters_unsupported.go
Normal file
@@ -0,0 +1,11 @@
|
||||
//go:build !linux
|
||||
|
||||
package agent
|
||||
|
||||
import psutilNet "github.com/shirou/gopsutil/v4/net"
|
||||
|
||||
func isNvidiaEthernet(name string) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func correctNvethernetCounters(v *psutilNet.IOCountersStat) {}
|
||||
Reference in New Issue
Block a user