forked from TrueCloudLab/frostfs-s3-gw
[#489] Avoid sensitive data logging
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
12d9eb62cb
commit
ee0f3fb196
1 changed files with 2 additions and 2 deletions
|
@ -516,8 +516,8 @@ func formGrantee(granteeType, value string) (*Grantee, error) {
|
|||
Type: acpAmazonCustomerByEmail,
|
||||
}, nil
|
||||
}
|
||||
|
||||
return nil, fmt.Errorf("unknown type: %s", granteeType)
|
||||
// do not return grantee type to avoid sensitive data logging (#489)
|
||||
return nil, fmt.Errorf("unknown grantee type")
|
||||
}
|
||||
|
||||
func addPredefinedACP(acp *AccessControlPolicy, cannedACL string) (*AccessControlPolicy, error) {
|
||||
|
|
Loading…
Reference in a new issue