backend/layout: unexport fields and simplify rest layout
This commit is contained in:
parent
6024597028
commit
af989aab4e
8 changed files with 68 additions and 78 deletions
|
@ -72,10 +72,7 @@ func Open(ctx context.Context, cfg Config, rt http.RoundTripper) (backend.Backen
|
|||
connections: cfg.Connections,
|
||||
container: cfg.Container,
|
||||
prefix: cfg.Prefix,
|
||||
Layout: &layout.DefaultLayout{
|
||||
Path: cfg.Prefix,
|
||||
Join: path.Join,
|
||||
},
|
||||
Layout: layout.NewDefaultLayout(cfg.Prefix, path.Join),
|
||||
}
|
||||
|
||||
// Authenticate if needed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue