bearer: Add method IsSetAPEOverride #227

Closed
acid-ant wants to merge 1 commit from acid-ant/frostfs-sdk-go:feature/token-bearer into master
Member

Signed-off-by: Anton Nikiforov an.nikiforov@yadro.com

Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
acid-ant force-pushed feature/token-bearer from 21f327e8dc to 2a04a40710 2024-06-04 07:54:37 +00:00 Compare
acid-ant requested review from storage-core-committers 2024-06-04 08:00:47 +00:00
acid-ant requested review from storage-core-developers 2024-06-04 08:00:48 +00:00
acid-ant changed title from WIP: bearer: Add method IsSetAPEOverride to bearer: Add method IsSetAPEOverride 2024-06-04 08:01:01 +00:00
fyrchik reviewed 2024-06-04 08:01:15 +00:00
@ -316,0 +316,4 @@
// IsSetAPEOverride return true if APEOverride is set.
//
// See also: APEOverride.
func (b *Token) IsSetAPEOverride() bool {
Owner

Why do we need this? Empty table is valid because it is not an optional parameter.

Why do we need this? Empty table is valid because it is not an optional parameter.
Author
Member

To quickly check that table is empty, to avoid checking equality to empty.

To quickly check that table is empty, to avoid checking equality to empty.
Owner

I mean, when it is missing, we can assume it is present and is empty.

I mean, when it is missing, we can assume it is present and is empty.
dstepanov-yadro approved these changes 2024-06-04 08:18:59 +00:00
achuprov approved these changes 2024-06-04 08:34:32 +00:00
acid-ant closed this pull request 2024-06-04 11:56:32 +00:00
All checks were successful
DCO / DCO (pull_request) Successful in 1m6s
Required
Details
Tests and linters / Tests (1.21) (pull_request) Successful in 1m21s
Required
Details
Tests and linters / Tests (1.20) (pull_request) Successful in 1m30s
Required
Details
Tests and linters / Lint (pull_request) Successful in 2m11s
Required
Details

Pull request closed

Sign in to join this conversation.
No reviewers
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#227
No description provided.