mirror of
https://github.com/restic/restic.git
synced 2025-04-19 06:01:29 +00:00
go fmt
This commit is contained in:
parent
38c3061df7
commit
bd0ada7842
@ -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…
x
Reference in New Issue
Block a user