mirror of
https://github.com/kairos-io/kairos-sdk.git
synced 2025-06-28 16:06:54 +00:00
Seems like provider can build for windows for the kairosctl command and it would fail due to the systemd libs not being available to build under windows so we need to protect against that Signed-off-by: Itxaka <itxaka@kairos.io>
14 lines
176 B
Go
14 lines
176 B
Go
//go:build windows
|
|
|
|
package types
|
|
|
|
import "io"
|
|
|
|
func isJournaldAvailable() bool {
|
|
return false
|
|
}
|
|
|
|
func getJournaldWriter() io.Writer {
|
|
return nil // No journald on Windows
|
|
}
|