Make CopyEscapable consistent with Copy and return nil
in case of success instead of io.EOF
This commit is contained in:
parent
ad43d88af5
commit
77c94175bd
1 changed files with 1 additions and 1 deletions
|
@ -543,7 +543,7 @@ func CopyEscapable(dst io.Writer, src io.ReadCloser) (written int64, err error)
|
|||
if err := src.Close(); err != nil {
|
||||
return 0, err
|
||||
}
|
||||
return 0, io.EOF
|
||||
return 0, nil
|
||||
}
|
||||
}
|
||||
// ---- End of docker
|
||||
|
|
Loading…
Add table
Reference in a new issue