mirror of
https://github.com/fankes/komari-agent.git
synced 2025-10-18 18:49:23 +08:00
feat: 添加虚拟化检测功能
This commit is contained in:
10
monitoring/unit/virtualization_test.go
Normal file
10
monitoring/unit/virtualization_test.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package monitoring
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestVirtualized(t *testing.T) {
|
||||
virt := Virtualized()
|
||||
t.Logf("Virtualization type: %s", virt)
|
||||
}
|
Reference in New Issue
Block a user