mirror of
https://github.com/Luzifer/duplicity-backup.git
synced 2024-11-08 15:10:06 +00:00
Fixed gosimple error
This commit is contained in:
parent
03550c0003
commit
70a249ae8e
2 changed files with 2 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -11,7 +11,7 @@ test:
|
||||||
ginkgo
|
ginkgo
|
||||||
gometalinter \
|
gometalinter \
|
||||||
--cyclo-over=15 \
|
--cyclo-over=15 \
|
||||||
--deadline=10s \
|
--deadline=20s \
|
||||||
--exclude=bindata.go \
|
--exclude=bindata.go \
|
||||||
--exclude=configfile_test.go \
|
--exclude=configfile_test.go \
|
||||||
-D errcheck
|
-D errcheck
|
||||||
|
|
|
@ -207,7 +207,7 @@ func (c *configFile) generateCredentialExport() (env []string) {
|
||||||
env = append(env, "SWIFT_USERNAME="+c.Swift.Username)
|
env = append(env, "SWIFT_USERNAME="+c.Swift.Username)
|
||||||
env = append(env, "SWIFT_PASSWORD="+c.Swift.Password)
|
env = append(env, "SWIFT_PASSWORD="+c.Swift.Password)
|
||||||
env = append(env, "SWIFT_AUTHURL="+c.Swift.AuthURL)
|
env = append(env, "SWIFT_AUTHURL="+c.Swift.AuthURL)
|
||||||
env = append(env, "SWIFT_AUTHVERSION="+strconv.FormatInt(int64(c.Swift.AuthVersion), 10))
|
env = append(env, "SWIFT_AUTHVERSION="+strconv.Itoa(c.Swift.AuthVersion))
|
||||||
}
|
}
|
||||||
if c.FTPPassword != "" {
|
if c.FTPPassword != "" {
|
||||||
env = append(env, "FTP_PASSWORD="+c.FTPPassword)
|
env = append(env, "FTP_PASSWORD="+c.FTPPassword)
|
||||||
|
|
Loading…
Reference in a new issue