fix
This commit is contained in:
parent
4a77737d8b
commit
bef898bc3f
@ -29,7 +29,7 @@ func writeNewConfig(reader io.Reader) (err error) {
|
||||
|
||||
defer os.Remove(out.Name())
|
||||
|
||||
_, err = io.Copy(out, req.Request.Body)
|
||||
_, err = io.Copy(out, reader)
|
||||
out.Close()
|
||||
if err != nil {
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user