forked from TrueCloudLab/frostfs-node
[#1238] Adopt neofs-node for non pointer slices in SDK
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
9fad29dfe0
commit
8f476f3c4d
41 changed files with 146 additions and 148 deletions
|
@ -98,7 +98,7 @@ func TestBlobstor_needsCompression(t *testing.T) {
|
|||
newObjectWithCt := func(contentType string) *objectSDK.Object {
|
||||
obj := testObject(smallSizeLimit + 1)
|
||||
if contentType != "" {
|
||||
a := objectSDK.NewAttribute()
|
||||
var a objectSDK.Attribute
|
||||
a.SetKey(objectSDK.AttributeContentType)
|
||||
a.SetValue(contentType)
|
||||
obj.SetAttributes(a)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue