forked from TrueCloudLab/frostfs-s3-gw
[#51] Update frostfs-sdk-go
Signed-off-by: Artem Tataurov <a.tataurov@yadro.com>
This commit is contained in:
parent
40d7f844e3
commit
94a42fa273
9 changed files with 12 additions and 15 deletions
|
@ -25,8 +25,6 @@ func IsErrObjectAccessDenied(err error) (string, bool) {
|
|||
switch err := err.(type) {
|
||||
default:
|
||||
return "", false
|
||||
case apistatus.ObjectAccessDenied:
|
||||
return err.Reason(), true
|
||||
case *apistatus.ObjectAccessDenied:
|
||||
return err.Reason(), true
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue