fshttp: read config from ctx not passed in ConfigInfo #4685
This commit is contained in:
parent
2e21c58e6a
commit
9d574c0d63
30 changed files with 52 additions and 48 deletions
|
@ -363,7 +363,7 @@ func swiftConnection(ctx context.Context, opt *Options, name string) (*swift.Con
|
|||
EndpointType: swift.EndpointType(opt.EndpointType),
|
||||
ConnectTimeout: 10 * ci.ConnectTimeout, // Use the timeouts in the transport
|
||||
Timeout: 10 * ci.Timeout, // Use the timeouts in the transport
|
||||
Transport: fshttp.NewTransport(fs.GetConfig(ctx)),
|
||||
Transport: fshttp.NewTransport(ctx),
|
||||
}
|
||||
if opt.EnvAuth {
|
||||
err := c.ApplyEnvironment()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue