forked from TrueCloudLab/frostfs-node
[#1494] *: Fix linter warnings
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
bbf8b8e74d
commit
f602d05b0a
5 changed files with 6 additions and 25 deletions
|
@ -404,17 +404,6 @@ type morphEACLFetcher struct {
|
|||
w *cntClient.Client
|
||||
}
|
||||
|
||||
type signedEACLTable eaclSDK.Table
|
||||
|
||||
func (s *signedEACLTable) ReadSignedData(_ []byte) ([]byte, error) {
|
||||
return (*eaclSDK.Table)(s).Marshal()
|
||||
}
|
||||
|
||||
func (s *signedEACLTable) SignedDataSize() int {
|
||||
// TODO: #1147 add eacl.Table.Size method
|
||||
return (*eaclSDK.Table)(s).ToV2().StableSize()
|
||||
}
|
||||
|
||||
func (s *morphEACLFetcher) GetEACL(cnr cid.ID) (*eaclSDK.Table, error) {
|
||||
table, err := s.w.GetEACL(cnr)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue