forked from TrueCloudLab/restic
go fmt
This commit is contained in:
parent
38c3061df7
commit
bd0ada7842
1 changed files with 2 additions and 2 deletions
|
@ -71,7 +71,7 @@ func Open(cfg Config, rt http.RoundTripper) (restic.Backend, error) {
|
||||||
Path: cfg.Prefix,
|
Path: cfg.Prefix,
|
||||||
},
|
},
|
||||||
listMaxItems: defaultListMaxItems,
|
listMaxItems: defaultListMaxItems,
|
||||||
sem: sem,
|
sem: sem,
|
||||||
}
|
}
|
||||||
|
|
||||||
return be, nil
|
return be, nil
|
||||||
|
@ -112,7 +112,7 @@ func Create(cfg Config, rt http.RoundTripper) (restic.Backend, error) {
|
||||||
Path: cfg.Prefix,
|
Path: cfg.Prefix,
|
||||||
},
|
},
|
||||||
listMaxItems: defaultListMaxItems,
|
listMaxItems: defaultListMaxItems,
|
||||||
sem: sem,
|
sem: sem,
|
||||||
}
|
}
|
||||||
|
|
||||||
present, err := be.Test(context.TODO(), restic.Handle{Type: restic.ConfigFile})
|
present, err := be.Test(context.TODO(), restic.Handle{Type: restic.ConfigFile})
|
||||||
|
|
Loading…
Add table
Reference in a new issue