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:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user