[#604] Add MFADelete tests with reworked mfa.Storage implementation

Signed-off-by: Alex Vanin <a.vanin@yadro.com>
Signed-off-by: Pavel Pogodaev <p.pogodaev@yadro.com>
This commit is contained in:
Alexey Vanin 2025-03-19 15:50:49 +03:00 committed by Pavel Pogodaev
parent 0fc56cbfce
commit 7d6e20fdad
17 changed files with 440 additions and 233 deletions

View file

@ -170,6 +170,9 @@ func parseRange(s string) (*layer.RangeParams, error) {
}
func nameFromArn(arn string) string {
if len(arn) == 0 {
return ""
}
pts := strings.Split(arn, "/")
return pts[len(pts)-1]
}