mirror of
https://github.com/Luzifer/duplicity-backup.git
synced 2024-11-08 15:10:06 +00:00
Fix test after API change
This commit is contained in:
parent
313ca6e4fd
commit
e858ee7221
1 changed files with 3 additions and 1 deletions
|
@ -2,6 +2,7 @@ package main
|
|||
|
||||
import (
|
||||
"bytes"
|
||||
"regexp"
|
||||
|
||||
. "github.com/onsi/ginkgo"
|
||||
. "github.com/onsi/gomega"
|
||||
|
@ -29,6 +30,7 @@ logdir: /var/log/duplicity/
|
|||
|
||||
var (
|
||||
commandLine, env, argv []string
|
||||
logFilter *regexp.Regexp
|
||||
loadErr, err error
|
||||
t string
|
||||
cf *configFile
|
||||
|
@ -40,7 +42,7 @@ logdir: /var/log/duplicity/
|
|||
if loadErr != nil {
|
||||
panic(loadErr)
|
||||
}
|
||||
commandLine, env, err = cf.GenerateCommand(argv, t)
|
||||
commandLine, env, logFilter, err = cf.GenerateCommand(argv, t)
|
||||
})
|
||||
|
||||
Context("Backup with given config", func() {
|
||||
|
|
Loading…
Reference in a new issue