mirror of
https://github.com/rclone/rclone.git
synced 2025-06-21 12:33:52 +02:00
serve s3: remove redundant handler initialization
This commit is contained in:
parent
f5501edfcf
commit
3273bf3716
@ -81,7 +81,6 @@ func newServer(ctx context.Context, f fs.Fs, opt *Options, vfsOpt *vfscommon.Opt
|
|||||||
gofakes3.WithIntegrityCheck(true), // Check Content-MD5 if supplied
|
gofakes3.WithIntegrityCheck(true), // Check Content-MD5 if supplied
|
||||||
)
|
)
|
||||||
|
|
||||||
w.handler = http.NewServeMux()
|
|
||||||
w.handler = w.faker.Server()
|
w.handler = w.faker.Server()
|
||||||
|
|
||||||
if proxy.Opt.AuthProxy != "" {
|
if proxy.Opt.AuthProxy != "" {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user