mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05:00
set bucket creation timestamp properly for legacy FS backend (#15800)
This commit is contained in:
parent
2a13cc28f2
commit
78385bfbeb
@ -473,6 +473,7 @@ func (fs *FSObjects) MakeBucketWithLocation(ctx context.Context, bucket string,
|
||||
}
|
||||
|
||||
meta := newBucketMetadata(bucket)
|
||||
meta.SetCreatedAt(opts.CreatedAt)
|
||||
if err := meta.Save(ctx, fs); err != nil {
|
||||
return toObjectErr(err, bucket)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user