mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #15437 from calavera/remove_wrong_doc
Remove doc that doesn't apply to Journald.
This commit is contained in:
commit
650d5d5d7a
1 changed files with 1 additions and 2 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Reference in a new issue