mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-26 19:46:57 +08:00
fix bug
This commit is contained in:
parent
ffecab72d8
commit
a83b4fc5d8
@ -45,7 +45,7 @@ func NewMinioInterface() (Interface, error) {
|
|||||||
Region: conf.Location,
|
Region: conf.Location,
|
||||||
ObjectLocking: conf.IsDistributedMod,
|
ObjectLocking: conf.IsDistributedMod,
|
||||||
}
|
}
|
||||||
if err := client.MakeBucket(ctx, conf.TempBucket, opt); err != nil {
|
if err := client.MakeBucket(ctx, bucket, opt); err != nil {
|
||||||
return nil, fmt.Errorf("minio make bucket %s %w", bucket, err)
|
return nil, fmt.Errorf("minio make bucket %s %w", bucket, err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user