mirror of
https://github.com/restic/restic.git
synced 2025-12-14 13:02:04 +00:00
reduce usages of globalOptions variable
This commit is contained in:
@@ -476,7 +476,7 @@ func innerOpen(ctx context.Context, s string, gopts GlobalOptions, opts options.
|
||||
return nil, err
|
||||
}
|
||||
|
||||
rt, err := backend.Transport(globalOptions.TransportOptions)
|
||||
rt, err := backend.Transport(gopts.TransportOptions)
|
||||
if err != nil {
|
||||
return nil, errors.Fatalf("%s", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user