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:
@@ -43,9 +43,6 @@ class OSSProtocolProvider private constructor() : TransferProtocolProvider {
|
||||
|
||||
try {
|
||||
buckets = oss.listBuckets()
|
||||
if (buckets.isEmpty()) {
|
||||
throw IllegalStateException("没有获取到桶信息")
|
||||
}
|
||||
} finally {
|
||||
oss.shutdown()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user