mirror of https://github.com/hak5/overseer.git
Fixes S3 fetcher return
If the file is not gzipped the `Fetcher` should return the `http.Response.Body` and not nilorig^2
parent
538c935889
commit
a916ad79aa
|
@ -122,5 +122,5 @@ func (s *S3) Fetch() (io.Reader, error) {
|
|||
return gzip.NewReader(resp.Body)
|
||||
}
|
||||
//success!
|
||||
return nil, nil
|
||||
return resp.Body, nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue