Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

oracle object storage: fix object storage endpoint for custom endpoints

Manoj Ghosh743ea6ac2638
diff --git a/backend/oracleobjectstorage/client.go b/backend/oracleobjectstorage/client.go
index 6be770d42..cd28ef66a 100644
--- a/backend/oracleobjectstorage/client.go
+++ b/backend/oracleobjectstorage/client.go
@@ -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
}