mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-04 20:51:44 +00:00
Merge pull request #15437 from calavera/remove_wrong_doc
Remove doc that doesn't apply to Journald.
This commit is contained in:
@@ -25,8 +25,7 @@ func init() {
|
||||
}
|
||||
|
||||
// New creates a journald logger using the configuration passed in on
|
||||
// the context. Supported context configuration variables are
|
||||
// syslog-address, syslog-facility, & syslog-tag.
|
||||
// the context.
|
||||
func New(ctx logger.Context) (logger.Logger, error) {
|
||||
if !journal.Enabled() {
|
||||
return nil, fmt.Errorf("journald is not enabled on this host")
|
||||
|
||||
Reference in New Issue
Block a user