forked from TrueCloudLab/frostfs-node
[#1910] .golangci.yml: Add misspell
linker
Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
This commit is contained in:
parent
9e46799cd4
commit
1cb892c579
7 changed files with 7 additions and 6 deletions
|
@ -20,7 +20,7 @@ func (s *TokenStore) decrypt(value []byte) ([]byte, error) {
|
|||
nonceSize := s.gcm.NonceSize()
|
||||
if len(value) < nonceSize {
|
||||
return nil, fmt.Errorf(
|
||||
"unexpected encrypted length: nonce length is %d, encrypted data lenght is %d",
|
||||
"unexpected encrypted length: nonce length is %d, encrypted data length is %d",
|
||||
nonceSize,
|
||||
len(value),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue