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:
parent
0e0b300a1c
commit
12744335c0
3 changed files with 3 additions and 9 deletions
3
daemon/logger/journald/doc.go
Normal file
3
daemon/logger/journald/doc.go
Normal 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"
|
|
@ -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 (
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
//go:build !linux
|
||||
// +build !linux
|
||||
|
||||
package journald // import "github.com/docker/docker/daemon/logger/journald"
|
||||
|
||||
type journald struct {
|
||||
}
|
Loading…
Reference in a new issue