mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
Add updatedAt for GetBucketLifecycleConfig (#17271)
This commit is contained in:
committed by
GitHub
parent
d0a0eb9738
commit
62df731006
@@ -63,7 +63,8 @@ type LifecycleSys struct{}
|
||||
|
||||
// Get - gets lifecycle config associated to a given bucket name.
|
||||
func (sys *LifecycleSys) Get(bucketName string) (lc *lifecycle.Lifecycle, err error) {
|
||||
return globalBucketMetadataSys.GetLifecycleConfig(bucketName)
|
||||
lc, _, err = globalBucketMetadataSys.GetLifecycleConfig(bucketName)
|
||||
return lc, err
|
||||
}
|
||||
|
||||
// NewLifecycleSys - creates new lifecycle system.
|
||||
|
||||
Reference in New Issue
Block a user