[#121] client: Make PrmObjectPutSingle fields public #160
No reviewers
Labels
No labels
P0
P1
P2
P3
good first issue
pool
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-sdk-go#160
Loading…
Reference in a new issue
No description provided.
Delete branch "aarifullin/frostfs-sdk-go:feature/121-prm_object_put_single"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Signed-off-by: Airat Arifullin a.arifullin@yadro.com
[#121] client: Make PrmObjectPutSingle fields publicto WIP: [#121] client: Make PrmObjectPutSingle fields publicf71e5477e5
to735d506e8f
WIP: [#121] client: Make PrmObjectPutSingle fields publicto [#121] client: Make PrmObjectPutSingle fields public@ -96,4 +96,0 @@
var prm PrmObjectPutSingle
prm.SetCopiesNumber(it.prm.copyNum)
prm.SetObject(o.ToV2())
prm.UseKey(prm.key)
It seems this was incorrect
@ -24,0 +27,4 @@
CopiesNumber []uint32
Object *v2object.Object
Let's not use v2 structs in public fields -- we have
object.Object
in the SDKAwesome point. Sure
Fixed
735d506e8f
toc09f60168a
@ -101,2 +119,4 @@
// WithBearerToken attaches bearer token to be used for the operation.
// Should be called once before any writing steps.
//
// Deprecated: Use PrmObjectPutInit.Key instead.
Key -> BearerToken
@ -51,2 +63,2 @@
t.WriteToV2(tv2)
x.meta.SetSessionToken(tv2)
//
// Deprecated: Use PrmObjectPutSingle.BearerToken instead.
BearerToken -> Session
Thanks!
c09f60168a
to5074bf7276
Can we also update using new approach in pool in this PR? This
5074bf7276/pool/pool.go (L655)
is deprecated now5074bf7276
to9ce6eed5ad
Done