prysm-pulse/monitoring/journald/journald.go
kasey 0b1a777d62
ran gofmt @ v1.17, these are the resulting changes (#10362)
* ran gofmt @ v1.17, these are the resulting changes

* fix some flaky tests that are tripping up this PR

* gofmt

Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
2022-03-14 15:58:13 -05:00

14 lines
210 B
Go

//go:build !linux
// +build !linux
package journald
import (
"fmt"
)
// Enable returns an error on non-Linux systems
func Enable() error {
return fmt.Errorf("journald is not supported in this platform")
}