1
0
Fork 0
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:
David Calavera 2015-08-10 08:44:08 -05:00
commit 650d5d5d7a

View file

@ -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")