forked from TrueCloudLab/frostfs-node
[#772] node: Apply gofumpt
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
00aa6d9749
commit
79088baa06
136 changed files with 293 additions and 239 deletions
|
@ -51,7 +51,8 @@ func TestInvalidToken(t *testing.T) {
|
|||
sign := func(reqBody interface {
|
||||
StableMarshal([]byte) []byte
|
||||
SetSignature(signature *refs.Signature)
|
||||
}) {
|
||||
},
|
||||
) {
|
||||
signer := frostfsecdsa.Signer(priv.PrivateKey)
|
||||
var sig frostfscrypto.Signature
|
||||
require.NoError(t, sig.Calculate(signer, reqBody.StableMarshal(nil)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue