初始化提交
This commit is contained in:
14
mengyamonitor-backend/systeminfo_other.go
Normal file
14
mengyamonitor-backend/systeminfo_other.go
Normal file
@@ -0,0 +1,14 @@
|
||||
//go:build !linux
|
||||
// +build !linux
|
||||
|
||||
package main
|
||||
|
||||
import "errors"
|
||||
|
||||
func readStorage() ([]StorageMetrics, error) {
|
||||
return nil, errors.New("storage monitoring is only supported on Linux")
|
||||
}
|
||||
|
||||
func readAllStorage() ([]StorageMetrics, error) {
|
||||
return nil, errors.New("storage monitoring is only supported on Linux")
|
||||
}
|
||||
Reference in New Issue
Block a user