Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #3606 +/- ##
==========================================
- Coverage 26.69% 26.66% -0.04%
==========================================
Files 655 655
Lines 49744 49866 +122
==========================================
+ Hits 13281 13296 +15
- Misses 35415 35522 +107
Partials 1048 1048 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
ba4b131 to
3609481
Compare
carpawell
left a comment
There was a problem hiding this comment.
Do we need additional support in neofs-cli?
neofs-node/cmd/neofs-cli/internal/common/exit.go
Lines 27 to 50 in 582380b
Signed-off-by: Roman Khimov <roman@nspcc.ru>
Signed-off-by: Roman Khimov <roman@nspcc.ru>
Pool depletion cases. Signed-off-by: Roman Khimov <roman@nspcc.ru>
What about this anyway? Busy and BadRequest look like common statuses that deserve a separate exit code. |
|
We have a lot of other codes as well, but we only check for some specific ones in CLI. I don't have any strict preferences here for now. |
Signed-off-by: Roman Khimov <roman@nspcc.ru>
Signed-off-by: Roman Khimov <roman@nspcc.ru>
Signed-off-by: Roman Khimov <roman@nspcc.ru>
Signed-off-by: Roman Khimov <roman@nspcc.ru>
|
Added incomplete/busy codes to CLI. |
| | 2 | Object access denied or unauthorized. | | ||
| | 3 | Await timeout expired for a certain condition. | | ||
| | 4 | Object already removed. | | ||
| | 5 | Incomplete success (like partial PUT or SEARCH).| |
There was a problem hiding this comment.
Intentional. It's not worth changing all lines here.
Inspired by https://rest.fs.neo.org/HXSaMJXk2g8C14ht8HSi7BBaiYZ1HeWh2xnWPGQCg4H6/4114-1759404161/index.html. Accompanied by nspcc-dev/neofs-testcases#1160. Triggered by #3606.
An omission of #3606. Signed-off-by: Roman Khimov <roman@nspcc.ru>
An omission of #3606. Signed-off-by: Roman Khimov <roman@nspcc.ru>
No description provided.