mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Remove doc that doesn't apply to Journald.
Signed-off-by: David Calavera <david.calavera@gmail.com>
This commit is contained in:
parent
b173314cca
commit
f1412f2942
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
|
// New creates a journald logger using the configuration passed in on
|
||||||
// the context. Supported context configuration variables are
|
// the context.
|
||||||
// syslog-address, syslog-facility, & syslog-tag.
|
|
||||||
func New(ctx logger.Context) (logger.Logger, error) {
|
func New(ctx logger.Context) (logger.Logger, error) {
|
||||||
if !journal.Enabled() {
|
if !journal.Enabled() {
|
||||||
return nil, fmt.Errorf("journald is not enabled on this host")
|
return nil, fmt.Errorf("journald is not enabled on this host")
|
||||||
|
|
Loading…
Add table
Reference in a new issue