forked from TrueCloudLab/frostfs-node
[#971] *: Add optional parameters to audit morph client calls
Adapt all audit wrapper calls to new structures. Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
8a2f5c980b
commit
7ac3145980
2 changed files with 9 additions and 2 deletions
|
@ -40,7 +40,10 @@ func TestAuditResults(t *testing.T) {
|
|||
auditRes.SetPublicKey(key.PublicKey().Bytes())
|
||||
auditRes.SetContainerID(id)
|
||||
|
||||
require.NoError(t, auditClientWrapper.PutAuditResult(auditRes))
|
||||
prm := auditWrapper.PutPrm{}
|
||||
prm.SetResult(auditRes)
|
||||
|
||||
require.NoError(t, auditClientWrapper.PutAuditResult(prm))
|
||||
|
||||
time.Sleep(5 * time.Second)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue