[#121] client: Make PrmContainerDelete fields public #141

Merged
fyrchik merged 3 commits from aarifullin/frostfs-sdk-go:master into master 2023-08-05 15:58:16 +00:00
Member
  • Refactor client PrmContainerDelete usage witihn pool
  • Introduce WaitParams CheckValidity method
  • Add WaitParams.CheckValidity() check within containerPut because SetWaitParams is deprecated, but parameters were checked within this setter with checkForPositive()

Signed-off-by: Airat Arifullin a.arifullin@yadro.com

* Refactor client PrmContainerDelete usage witihn pool * Introduce WaitParams CheckValidity method * Add WaitParams.CheckValidity() check within containerPut because SetWaitParams is deprecated, but parameters were checked within this setter with checkForPositive() Signed-off-by: Airat Arifullin a.arifullin@yadro.com
aarifullin added the
refactoring
label 2023-08-03 09:19:24 +00:00
aarifullin added 2 commits 2023-08-03 09:19:25 +00:00
Signed-off-by: Airat Arifullin a.arifullin@yadro.com
* Refactor client PrmContainerDelete usage
* Introduce WaitParams CheckValidity method

Signed-off-by: Airat Arifullin a.arifullin@yadro.com
aarifullin requested review from storage-core-developers 2023-08-03 09:19:54 +00:00
aarifullin requested review from storage-core-committers 2023-08-03 09:19:54 +00:00
aarifullin requested review from storage-services-developers 2023-08-03 09:19:54 +00:00
aarifullin force-pushed master from 0a1af05d85 to 3b7e556aa3 2023-08-03 10:01:28 +00:00 Compare
aarifullin force-pushed master from 3b7e556aa3 to 93281ffcf8 2023-08-03 10:27:02 +00:00 Compare
fyrchik reviewed 2023-08-03 10:59:43 +00:00
@ -505,3 +507,2 @@
if !prm.waitParamsSet {
prm.waitParams.setDefaults()
if prm.WaitParams == nil {
Owner

Won't private fields be a problem here too?

Won't private fields be a problem here too?
Author
Member

Sorry, I didn't get the point. prm.WaitParams is no longer private

Sorry, I didn't get the point. `prm.WaitParams` is no longer private
Owner

Yes, but the WaitParams itself has private fields. I think making them public aligns well with the overall goal.

Yes, but the `WaitParams` itself has private fields. I think making them public aligns well with the overall goal.
Author
Member

Oh. You're right. I'll fix it

Oh. You're right. I'll fix it
fyrchik marked this conversation as resolved
aarifullin force-pushed master from 93281ffcf8 to eca912607a 2023-08-03 13:02:40 +00:00 Compare
Owner

@aarifullin linter warnings are correct (dots at the end of a sentence), let's not dismiss.

@aarifullin linter warnings are correct (dots at the end of a sentence), let's not dismiss.
fyrchik approved these changes 2023-08-03 13:15:14 +00:00
aarifullin force-pushed master from eca912607a to 0317938987 2023-08-04 07:24:16 +00:00 Compare
fyrchik requested review from storage-services-committers 2023-08-04 07:26:07 +00:00
alexvanin approved these changes 2023-08-04 07:58:47 +00:00
acid-ant approved these changes 2023-08-04 10:55:52 +00:00
fyrchik approved these changes 2023-08-05 15:58:09 +00:00
fyrchik merged commit 936e6d230b into master 2023-08-05 15:58:16 +00:00
Sign in to join this conversation.
No reviewers
TrueCloudLab/storage-core-developers
TrueCloudLab/storage-services-developers
No milestone
No project
No assignees
4 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-sdk-go#141
No description provided.