client: Refactor PrmInit, PrmDial usage #809

Merged
fyrchik merged 1 commit from aarifullin/frostfs-node:feature/prm_init_prm_dial into master 2023-11-17 13:37:05 +00:00
Member

Update frostfs-sdk-go version in go.mod and refactor deprecated setters

Update frostfs-sdk-go version in `go.mod` and refactor deprecated setters
aarifullin added the
refactoring
label 2023-11-15 12:31:14 +00:00
aarifullin force-pushed feature/prm_init_prm_dial from f25072a063 to cee0a0fc83 2023-11-15 12:31:48 +00:00 Compare
aarifullin requested review from storage-core-committers 2023-11-15 12:32:38 +00:00
fyrchik approved these changes 2023-11-15 13:09:04 +00:00
@ -65,2 +60,4 @@
prmInit.Key = *x.opts.Key
}
prmDial := client.PrmDial{
Owner

Why was this moved?

Why was this moved?
Author
Member

Which line are you interested about?

I have intended to make these initializations sequential and more dense: firstly - prmInit, then prmDial

Which line are you interested about? I have intended to make these initializations sequential and more _dense_: firstly - `prmInit`, then `prmDial`

But prmInit has initialization step at line 85:

prmInit.ResponseInfoCallback = x.opts.ResponseCallback
But `prmInit` has initialization step at line 85: ``` prmInit.ResponseInfoCallback = x.opts.ResponseCallback ```
Owner

My bad, it is the declaration, which was at the first line previously.

My bad, it is _the declaration_, which was at the first line previously.
aarifullin requested review from storage-core-committers 2023-11-15 13:37:04 +00:00
aarifullin requested review from storage-core-developers 2023-11-15 13:37:05 +00:00
fyrchik approved these changes 2023-11-15 15:16:56 +00:00
elebedeva approved these changes 2023-11-16 00:03:57 +00:00
dstepanov-yadro approved these changes 2023-11-16 07:08:53 +00:00
acid-ant approved these changes 2023-11-16 12:49:21 +00:00
fyrchik merged commit 02454df14a into master 2023-11-17 13:37:05 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
5 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#809
No description provided.