mirror of
https://github.com/rclone/rclone.git
synced 2025-03-06 19:31:51 +01:00
oracle object storage: fix object storage endpoint for custom endpoints
This commit is contained in:
parent
8b8156f7c3
commit
6ccbebd903
@ -70,6 +70,9 @@ func newObjectStorageClient(ctx context.Context, opt *Options) (*objectstorage.O
|
||||
if opt.Region != "" {
|
||||
client.SetRegion(opt.Region)
|
||||
}
|
||||
if opt.Endpoint != "" {
|
||||
client.Host = opt.Endpoint
|
||||
}
|
||||
modifyClient(ctx, opt, &client.BaseClient)
|
||||
return &client, err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user