Public source validation / validate (push) Failing after 3m8s
15 lines
346 B
Go
15 lines
346 B
Go
//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")
|
|
}
|