diff --git a/pkg/common/db/obj/minio.go b/pkg/common/db/obj/minio.go index b8d9c9dc6..d8d9ff70e 100644 --- a/pkg/common/db/obj/minio.go +++ b/pkg/common/db/obj/minio.go @@ -45,7 +45,7 @@ func NewMinioInterface() (Interface, error) { Region: conf.Location, 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) } }