mirror of
https://github.com/minio/minio.git
synced 2025-01-26 14:13:16 -05:00
skip config/history/ during IAM load (#14698)
This commit is contained in:
parent
dedf9774c7
commit
00ebea2536
@ -448,7 +448,7 @@ func (iamOS *IAMObjectStore) listAllIAMConfigItems(ctx context.Context) (map[str
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if !found && !(item.Item == "config/config.json" || item.Item == "/format.json") {
|
if !found && !(item.Item == "config/config.json" || item.Item == "/format.json" || contains(item.Item, "config/history/")) {
|
||||||
logger.LogIf(ctx, fmt.Errorf("unknown type of IAM file listed: %v", item.Item))
|
logger.LogIf(ctx, fmt.Errorf("unknown type of IAM file listed: %v", item.Item))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user