forked from TrueCloudLab/frostfs-node
[#1369] audit: Upgrade SDK package
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
875f0e79a2
commit
7a57d7b076
9 changed files with 63 additions and 63 deletions
|
@ -34,13 +34,13 @@ func TestAuditResults(t *testing.T) {
|
|||
|
||||
id := cidtest.ID()
|
||||
|
||||
auditRes := auditAPI.NewResult()
|
||||
auditRes.SetAuditEpoch(epoch)
|
||||
auditRes.SetPublicKey(key.PublicKey().Bytes())
|
||||
auditRes.SetContainerID(id)
|
||||
var auditRes auditAPI.Result
|
||||
auditRes.ForEpoch(epoch)
|
||||
auditRes.SetAuditorKey(key.PublicKey().Bytes())
|
||||
auditRes.ForContainer(*id)
|
||||
|
||||
prm := PutPrm{}
|
||||
prm.SetResult(auditRes)
|
||||
prm.SetResult(&auditRes)
|
||||
|
||||
require.NoError(t, auditClientWrapper.PutAuditResult(prm))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue