|
|
|
@ -41,7 +41,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 {
|
|
|
|
|