mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix huawei image upload
This commit is contained in:
@@ -159,6 +159,7 @@ func (self *SStoragecache) uploadImage(ctx context.Context, userCred mcclient.To
|
||||
// create bucket
|
||||
input := &obs.CreateBucketInput{}
|
||||
input.Bucket = bucketName
|
||||
input.Location = self.region.GetId()
|
||||
_, err = obsClient.CreateBucket(input)
|
||||
if err != nil {
|
||||
return "", err
|
||||
|
||||
Reference in New Issue
Block a user