This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
//go:build !linux
|
||||
|
||||
package hostcollect
|
||||
|
||||
import (
|
||||
"errors"
|
||||
|
||||
"github.com/itworx/pulse/internal/host"
|
||||
)
|
||||
|
||||
// readClockSync has no portable equivalent off Linux; the caller degrades to a warning.
|
||||
func readClockSync() (host.RawTime, error) {
|
||||
return host.RawTime{}, errors.New("hostcollect: clock synchronisation probe is only available on linux")
|
||||
}
|
||||
Reference in New Issue
Block a user