From 8fd678e269cda0808cc57fc628ef2d38ea67ca23 Mon Sep 17 00:00:00 2001 From: Airat Arifullin Date: Mon, 20 May 2024 11:45:40 +0300 Subject: [PATCH] [#1141] go.mod: Update frostfs-sdk-go and frostfs-api-go/v2 * Also fix unit-test. Signed-off-by: Airat Arifullin --- go.mod | 4 ++-- go.sum | Bin 43495 -> 43495 bytes pkg/services/policer/ec_test.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 875385203..81e2fa989 100644 --- a/go.mod +++ b/go.mod @@ -4,10 +4,10 @@ go 1.21 require ( code.gitea.io/sdk/gitea v0.17.1 - git.frostfs.info/TrueCloudLab/frostfs-api-go/v2 v2.16.1-0.20240427200446-67c6f305b21f + git.frostfs.info/TrueCloudLab/frostfs-api-go/v2 v2.16.1-0.20240516133103-0803bc6ded00 git.frostfs.info/TrueCloudLab/frostfs-contract v0.19.3-0.20240409111539-e7a05a49ff45 git.frostfs.info/TrueCloudLab/frostfs-observability v0.0.0-20231101111734-b3ad3335ff65 - git.frostfs.info/TrueCloudLab/frostfs-sdk-go v0.0.0-20240507063414-99e02858af12 + git.frostfs.info/TrueCloudLab/frostfs-sdk-go v0.0.0-20240517121628-3de256d05e32 git.frostfs.info/TrueCloudLab/hrw v1.2.1 git.frostfs.info/TrueCloudLab/policy-engine v0.0.0-20240513163744-1f6f4163d40d git.frostfs.info/TrueCloudLab/tzhash v1.8.0 diff --git a/go.sum b/go.sum index 9bb97cbe17374cfb8b796e089470a3587fba76c1..5dd9b2423968e43a594ea7fccddff534989b5168 100644 GIT binary patch delta 281 zcmaEUnd$jurU}nnObyKpjg1WrjCBnx42+YK%~DcR3=9-946Oo%oPEkNGAv6?!IPT8ByiIrun|%sl_?o nWxmN}K}qQrdG00pPWmBf#eo6&Zj%ey6({Smac#cG%DDsp>O5Bf delta 279 zcmaEUnd$jurU}nnO^nQq3=B+6%yiAnlg-kM4NQ}a4AT@c46Pz7vx)=#N{aH*1FJl} z{XpA}Z1gBO)r(iz35~A}mtea@{La+$+7xoRUo| zi}TVv+%h74LH10($|B;8)iC|^e7)TK6p)#z<{p-Ler^R7h9OzTK}H5q`4yE0Vfkjk jML9`kRbi$+=23wWh3S?>c_u(J6(;Mlac#cG%DDsp2X0n@ diff --git a/pkg/services/policer/ec_test.go b/pkg/services/policer/ec_test.go index 3ac9699f0..11e7a8cdf 100644 --- a/pkg/services/policer/ec_test.go +++ b/pkg/services/policer/ec_test.go @@ -114,7 +114,7 @@ func TestECChunkHasInvalidPlacement(t *testing.T) { chunkObject.SetID(chunkAddress.Object()) chunkObject.SetPayload([]byte{0, 1, 2, 3, 4, 5, 6, 7, 8, 9}) chunkObject.SetPayloadSize(uint64(10)) - chunkObject.SetECHeader(objectSDK.NewECHeader(parentID, 1, 3, []byte{}, 0)) + chunkObject.SetECHeader(objectSDK.NewECHeader(parentID, nil, nil, 1, 3, []byte{}, 0)) var policy netmapSDK.PlacementPolicy require.NoError(t, policy.DecodeString("EC 2.1"))