minio obj locking

pull/261/head
wangchuxiao 3 years ago
parent 0a8a248349
commit c39df537b4

@ -47,7 +47,7 @@ func MinioInit() {
}
opt := minio.MakeBucketOptions{
Region: config.Config.Credential.Minio.Location,
ObjectLocking: false,
ObjectLocking: true,
}
err = MinioClient.MakeBucket(context.Background(), config.Config.Credential.Minio.Bucket, opt)
if err != nil {

Loading…
Cancel
Save