log.Errorf when pod streaming fails (#1463)

* log.Errorf when pod streaming fails

* Error method added for loggers

Co-authored-by: Asim Aslam <asim@aslam.me>
This commit is contained in:
Janos Dobronszki
2020-04-02 00:03:26 +02:00
committed by GitHub
parent e1bc0f6288
commit d2b6d35220
6 changed files with 84 additions and 7 deletions

View File

@@ -96,6 +96,11 @@ type serviceLogStream struct {
service string
stream chan runtime.LogRecord
stop chan bool
err error
}
func (l *serviceLogStream) Error() error {
return l.err
}
func (l *serviceLogStream) Chan() chan runtime.LogRecord {