Address comments

Signed-off-by: Peter Hunt <pehunt@redhat.com>
This commit is contained in:
Peter Hunt
2019-05-20 13:58:31 -04:00
parent 02f971131a
commit 51bdf29f04
9 changed files with 27 additions and 21 deletions

View File

@ -1,7 +1,11 @@
//+build !linux
//+build !linux !systemd
package libpod
import (
"github.com/pkg/errors"
)
func (c *Container) readFromJournal(options *LogOptions, logChannel chan *LogLine) error {
return ErrOSNotSupported
return errors.Wrapf(ErrOSNotSupported, "Journald logging only enabled with systemd on linux")
}