1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

logger/journald: simplify build constraints

Ensure the package can be imported, no matter the build constratints, by
adding an unconstrained doc.go containing a package statement.

Signed-off-by: Cory Snider <csnider@mirantis.com>
This commit is contained in:
Cory Snider 2022-01-28 13:13:54 -05:00
parent 0e0b300a1c
commit 12744335c0
3 changed files with 3 additions and 9 deletions

View file

@ -0,0 +1,3 @@
// Package journald provides the log driver for forwarding server logs
// to endpoints that receive the systemd format.
package journald // import "github.com/docker/docker/daemon/logger/journald"

View file

@ -1,8 +1,6 @@
//go:build linux
// +build linux
// Package journald provides the log driver for forwarding server logs
// to endpoints that receive the systemd format.
package journald // import "github.com/docker/docker/daemon/logger/journald"
import (

View file

@ -1,7 +0,0 @@
//go:build !linux
// +build !linux
package journald // import "github.com/docker/docker/daemon/logger/journald"
type journald struct {
}