mirror of
https://github.com/minio/minio.git
synced 2024-12-24 22:25:54 -05:00
skip config/history/ during IAM load (#14698)
This commit is contained in:
parent
901d33b59c
commit
a9eef521ec
@ -448,7 +448,7 @@ func (iamOS *IAMObjectStore) listAllIAMConfigItems(ctx context.Context) (map[str
|
||||
}
|
||||
}
|
||||
|
||||
if !found && !(item.Item == "config/config.json" || item.Item == "/format.json" || contains(item.Item, "config/history/")) {
|
||||
if !found && !(item.Item == "config/config.json" || item.Item == "/format.json" || strings.Contains(item.Item, "config/history/")) {
|
||||
logger.LogIf(ctx, fmt.Errorf("unknown type of IAM file listed: %v", item.Item))
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user