sdk: Remove panic from RPCs #15

Merged
acid-ant merged 2 commits from bugfix/2-do-not-panic into master 2023-03-01 07:29:23 +00:00
acid-ant commented 2023-02-06 09:53:40 +00:00 (Migrated from github.com)

Partially close #2

Update lint config, fix lint errors

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

Partially close #2 Update lint config, fix lint errors Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
carpawell (Migrated from github.com) reviewed 2023-02-06 09:53:40 +00:00
KirillovDenis (Migrated from github.com) reviewed 2023-02-06 09:53:40 +00:00
KirillovDenis commented 2023-02-07 08:02:21 +00:00 (Migrated from github.com)

Let's drop tests with go1.17 from github actions

Let's drop tests with go1.17 from github actions
KirillovDenis (Migrated from github.com) reviewed 2023-02-07 08:51:20 +00:00
alexvanin commented 2023-02-07 09:32:53 +00:00 (Migrated from github.com)

Let's drop tests with go1.17 from github actions

We can also add go1.20 😄

> Let's drop tests with go1.17 from github actions We can also add go1.20 :smile:
alexvanin (Migrated from github.com) reviewed 2023-02-07 09:33:21 +00:00
KirillovDenis (Migrated from github.com) reviewed 2023-02-07 11:18:20 +00:00
alexvanin (Migrated from github.com) reviewed 2023-02-07 14:22:48 +00:00
fyrchik (Migrated from github.com) reviewed 2023-02-17 08:52:28 +00:00
@ -33,4 +33,3 @@
# some default golangci-lint linters
- deadcode
- errcheck
fyrchik (Migrated from github.com) commented 2023-02-17 08:50:16 +00:00

Why?

Why?
@ -6,3 +6,4 @@
"errors"
"go.uber.org/zap"
fyrchik (Migrated from github.com) commented 2023-02-17 08:52:16 +00:00

Unrelated to this commit, could also merge this with the next line.

Unrelated to this commit, could also merge this with the next line.
acid-ant (Migrated from github.com) reviewed 2023-02-17 14:06:18 +00:00
@ -33,4 +33,3 @@
# some default golangci-lint linters
- deadcode
- errcheck
acid-ant (Migrated from github.com) commented 2023-02-17 14:06:18 +00:00

Deprecated since v1.49.0 of golangci-lint. Replaced by unused.

Deprecated since v1.49.0 of golangci-lint. Replaced by `unused`.
acid-ant (Migrated from github.com) reviewed 2023-02-17 14:10:31 +00:00
@ -6,3 +6,4 @@
"errors"
"go.uber.org/zap"
acid-ant (Migrated from github.com) commented 2023-02-17 14:10:31 +00:00

Reverted. Moved to another commit.

Reverted. Moved to another commit.
KirillovDenis (Migrated from github.com) reviewed 2023-02-20 07:56:19 +00:00
fyrchik (Migrated from github.com) reviewed 2023-02-24 14:32:13 +00:00
@ -46,7 +46,7 @@ func (x ResBalanceGet) Amount() accounting.Decimal {
// FrostFS status codes are returned as `error`, otherwise, are included
fyrchik (Migrated from github.com) commented 2023-02-24 14:31:06 +00:00

an error

`an error`
fyrchik (Migrated from github.com) commented 2023-02-24 14:31:55 +00:00

What about adding a variable for this and other errors touched in this commit?

What about adding a variable for this and other errors touched in this commit?
fyrchik (Migrated from github.com) commented 2023-02-24 14:31:21 +00:00

Same here

Same here
acid-ant (Migrated from github.com) reviewed 2023-02-27 08:01:26 +00:00
@ -46,7 +46,7 @@ func (x ResBalanceGet) Amount() accounting.Decimal {
// FrostFS status codes are returned as `error`, otherwise, are included
acid-ant (Migrated from github.com) commented 2023-02-27 08:01:25 +00:00

Fixed.

Fixed.
acid-ant (Migrated from github.com) reviewed 2023-02-27 08:01:30 +00:00
acid-ant (Migrated from github.com) commented 2023-02-27 08:01:30 +00:00

Fixed.

Fixed.
acid-ant (Migrated from github.com) reviewed 2023-02-27 08:04:30 +00:00
@ -46,7 +46,7 @@ func (x ResBalanceGet) Amount() accounting.Decimal {
// FrostFS status codes are returned as `error`, otherwise, are included
acid-ant (Migrated from github.com) commented 2023-02-27 08:04:30 +00:00

Sounds good, added.

Sounds good, added.
fyrchik (Migrated from github.com) reviewed 2023-02-28 07:39:37 +00:00
fyrchik (Migrated from github.com) commented 2023-02-28 07:39:36 +00:00

This can be dropped after a rebase on master.

This can be dropped after a rebase on master.
fyrchik (Migrated from github.com) reviewed 2023-02-28 07:39:47 +00:00
acid-ant (Migrated from github.com) reviewed 2023-02-28 07:52:18 +00:00
acid-ant (Migrated from github.com) commented 2023-02-28 07:52:17 +00:00

Done.

Done.
fyrchik (Migrated from github.com) approved these changes 2023-02-28 07:55:54 +00:00
dstepanov-yadro (Migrated from github.com) approved these changes 2023-03-01 07:04:21 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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#15
No description provided.