mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-25 09:00:27 +00:00
travis: exclude go 1.13 for arch arm64
This commit is contained in:
parent
7056997e49
commit
e9534be1e6
2 changed files with 7 additions and 0 deletions
|
@ -12,6 +12,12 @@ go:
|
||||||
- 1.13.x
|
- 1.13.x
|
||||||
- 1.14.x
|
- 1.14.x
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
exclude:
|
||||||
|
- os: linux
|
||||||
|
arch: arm64
|
||||||
|
go: 1.13.x
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- GO111MODULE=on
|
- GO111MODULE=on
|
||||||
|
|
||||||
|
|
|
@ -1969,6 +1969,7 @@ func getMultipartFormData(values url.Values, fileFieldName, filePath string) (by
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return b, "", err
|
return b, "", err
|
||||||
}
|
}
|
||||||
|
defer f.Close()
|
||||||
if _, err = io.Copy(fw, f); err != nil {
|
if _, err = io.Copy(fw, f); err != nil {
|
||||||
return b, "", err
|
return b, "", err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue