Run copying and pruning against multiple storages in parallel (#152)

This commit is contained in:
Frederik Ring
2022-09-01 14:38:04 +02:00
committed by GitHub
parent 695a94d479
commit a6ec128cab
3 changed files with 26 additions and 9 deletions

View File

@@ -35,7 +35,6 @@ type Config struct {
// NewStorageBackend creates and initializes a new WebDav storage backend.
func NewStorageBackend(opts Config, logFunc storage.Log) (storage.Backend, error) {
if opts.Username == "" || opts.Password == "" {
return nil, errors.New("NewStorageBackend: WEBDAV_URL is defined, but no credentials were provided")
} else {