[#291] Remove some unused code from repository
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
a51211eda7
commit
9a86fff7e0
23 changed files with 14 additions and 399 deletions
|
@ -220,9 +220,6 @@ func completeBearerToken(btok *token.BearerToken) error {
|
|||
// set eACL table version, because it usually omitted
|
||||
table := v2.GetBody().GetEACL()
|
||||
table.SetVersion(pkg.SDKVersion().ToV2())
|
||||
|
||||
// back to SDK token
|
||||
btok = token.NewBearerTokenFromV2(v2)
|
||||
} else {
|
||||
return errors.New("unsupported bearer token version")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue