do not log EOF
This commit is contained in:
parent
9995ffbd7a
commit
2039086696
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ func (f *File) readToCache(p []byte) (n int, err error) {
|
|||
return n, err
|
||||
}
|
||||
}
|
||||
if err != nil {
|
||||
if err != nil && err != io.EOF {
|
||||
log.Error(err, "error reading source file")
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue