Make PrmContainerEACL fields public #145

Merged
fyrchik merged 2 commits from aarifullin/frostfs-sdk-go:feature/121-prm_eacl into master 2023-08-16 09:53:52 +00:00
Member

Airat Arifullin a.arifullin@yadro.com

Airat Arifullin <a.arifullin@yadro.com>
aarifullin added 1 commit 2023-08-11 08:09:42 +00:00
Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
aarifullin added the
refactoring
label 2023-08-11 08:09:54 +00:00
aarifullin requested review from storage-core-developers 2023-08-11 08:10:09 +00:00
aarifullin requested review from storage-core-committers 2023-08-11 08:10:10 +00:00
aarifullin requested review from storage-services-committers 2023-08-11 08:10:48 +00:00
aarifullin requested review from storage-services-developers 2023-08-11 08:10:48 +00:00
acid-ant approved these changes 2023-08-11 08:14:33 +00:00
dkirillov reviewed 2023-08-11 11:10:47 +00:00
pool/pool.go Outdated
@ -2516,2 +2516,2 @@
if cnrID != nil {
prm.SetContainerID(*cnrID)
prm := PrmContainerEACL{
ContainerID: *cnrID,
Member

It seems we have to check if cnrID isn't nil

It seems we have to check if `cnrID` isn't `nil`
Author
Member

You're right. I ignored the check

You're right. I ignored the check
dkirillov marked this conversation as resolved
aarifullin force-pushed feature/121-prm_eacl from 20e40a6086 to a56d873077 2023-08-14 15:20:23 +00:00 Compare
dkirillov reviewed 2023-08-15 06:37:50 +00:00
pool/pool.go Outdated
@ -2516,2 +2517,3 @@
if cnrID != nil {
prm.SetContainerID(*cnrID)
prm = PrmContainerEACL{
ContainerID: *cnrID,
Member

Not functional but why don't we write prm.ContainerID = *cnrID (we have already initialized prm above)?

Not functional but why don't we write `prm.ContainerID = *cnrID` (we have already initialized `prm` above)?
Author
Member

Okay, fixed 👍

Okay, fixed 👍
fyrchik approved these changes 2023-08-15 06:39:12 +00:00
aarifullin force-pushed feature/121-prm_eacl from a56d873077 to 00355300f7 2023-08-16 09:38:58 +00:00 Compare
dstepanov-yadro approved these changes 2023-08-16 09:43:24 +00:00
ale64bit approved these changes 2023-08-16 09:44:28 +00:00
fyrchik approved these changes 2023-08-16 09:53:33 +00:00
fyrchik merged commit 6fdbe75517 into master 2023-08-16 09:53:52 +00:00
Sign in to join this conversation.
No reviewers
TrueCloudLab/storage-services-committers
TrueCloudLab/storage-services-developers
No milestone
No project
No assignees
6 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#145
No description provided.