Skip to content

Commit

Permalink
rgwadmin: add object_lock_enabled to bucket info
Browse files Browse the repository at this point in the history
Signed-off-by: Seena Fallah <[email protected]>
  • Loading branch information
clwluvw committed Feb 1, 2025
1 parent 4d2e7c1 commit e20ef3b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rgw/admin/bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ type Bucket struct {
Versioned *bool `json:"versioned"` // pre-squid
VersioningEnabled *bool `json:"versioning_enabled"` // pre-squid
Versioning *string `json:"versioning"` // squid+
ObjectLockEnabled bool `json:"object_lock_enabled"`
Owner string `json:"owner"`
Ver string `json:"ver"`
MasterVer string `json:"master_ver"`
Expand Down

0 comments on commit e20ef3b

Please sign in to comment.