#136 Copy files back from Nomad runner.

This commit is contained in:
Maximilian Paß
2022-08-06 04:52:48 +02:00
parent ae7b3ccd58
commit f2b25566dd
11 changed files with 191 additions and 21 deletions

View File

@@ -20,7 +20,7 @@ type Reader struct {
}
func (r Reader) Read(_ []byte) (int, error) {
if r.Ctx.Err() != nil {
if r.Ctx == nil || r.Ctx.Err() != nil {
return 0, io.EOF
}