mirror of
https://github.com/TermoraDev/termora.git
synced 2026-01-16 02:12:58 +08:00
feat: support Huawei OBS
This commit is contained in:
@@ -39,9 +39,6 @@ class COSProtocolProvider private constructor() : TransferProtocolProvider {
|
||||
|
||||
try {
|
||||
buckets = cosClient.listBuckets()
|
||||
if (buckets.isEmpty()) {
|
||||
throw IllegalStateException("没有获取到桶信息")
|
||||
}
|
||||
} finally {
|
||||
cosClient.shutdown()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user