client: Return status from all methods #285
No reviewers
TrueCloudLab/storage-core-developers
TrueCloudLab/storage-sdk-developers
TrueCloudLab/storage-services-developers
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#285
Loading…
Reference in a new issue
No description provided.
Delete branch "mbiryukova/frostfs-sdk-go:bugfix/client_status_v1.0.0-rc.5"
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?
Since status is checked first in handleError method, it should be returned from client methods
Signed-off-by: Marina Biryukova m.biryukova@yadro.com
9e67c471df
to0a0d659a4e
[#xxx] client: Return status from all methodsto [#285] client: Return status from all methods[#285] client: Return status from all methodsto client: Return status from all methodsOne could argue that since client doesn't return status on error,
handleError()
should be rewritten.Not opposing the change, but the main reason is consistency -- it seems other method are used the same pattern you introduce here.
Could you explain this in the commit description, please?
Also, this goes to
rc.5
branch, what is the bug we need to fix there?It's port #275
Original issue #253