mirror of
https://github.com/go-micro/go-micro.git
synced 2025-06-12 22:07:47 +02:00
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:
@ -331,6 +331,11 @@ type kubeStream struct {
|
||||
stream chan runtime.LogRecord
|
||||
// the stop chan
|
||||
stop chan bool
|
||||
err error
|
||||
}
|
||||
|
||||
func (k *kubeStream) Error() error {
|
||||
return k.err
|
||||
}
|
||||
|
||||
func (k *kubeStream) Chan() chan runtime.LogRecord {
|
||||
|
Reference in New Issue
Block a user