forked from TrueCloudLab/frostfs-s3-gw
[#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:
parent
0fc56cbfce
commit
7d6e20fdad
17 changed files with 440 additions and 233 deletions
|
@ -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]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue