mirror of
https://github.com/pgsty/minio.git
synced 2026-07-24 06:26:17 +03:00
various compliance related fixes (#17401)
- getObjectTagging to be allowed for anonymous policies - return correct errors for invalid retention period - return sorted list of tags for an object - putObjectTagging must return 200 OK not 204 OK - return 409 ErrObjectLockConfigurationNotAllowed for existing buckets
This commit is contained in:
@@ -661,7 +661,7 @@ func (c *SiteReplicationSys) GetClusterInfo(ctx context.Context) (info madmin.Si
|
||||
for _, peer := range c.state.Peers {
|
||||
info.Sites = append(info.Sites, peer)
|
||||
}
|
||||
sort.SliceStable(info.Sites, func(i, j int) bool {
|
||||
sort.Slice(info.Sites, func(i, j int) bool {
|
||||
return info.Sites[i].Name < info.Sites[j].Name
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user