mirror of
https://github.com/TermoraDev/termora.git
synced 2026-03-31 21:32:20 +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