morph/event: Remove more code #1546

Merged
fyrchik merged 4 commits from fyrchik/frostfs-node:fix-events into master 2024-12-11 07:39:50 +00:00
Owner
No description provided.
fyrchik added 4 commits 2024-12-06 13:25:52 +00:00
This codepath hides possible bugs in code.
We would rather panic then silently fail.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This codepath hides possible bugs in code.
All initialization function should run before init stage.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
They are decoupled, but it is an error to have a handler without a
corresponding parser. Register them together on the code level and get
rid of unreachable code.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
morph/event: Export NotificationHandlerInfo fields
Some checks failed
DCO action / DCO (pull_request) Failing after 3m46s
Build / Build Components (pull_request) Successful in 4m38s
Pre-commit hooks / Pre-commit (pull_request) Successful in 5m34s
Tests and linters / Run gofumpt (pull_request) Successful in 5m26s
Tests and linters / Staticcheck (pull_request) Successful in 5m39s
Tests and linters / Lint (pull_request) Successful in 6m19s
Vulncheck / Vulncheck (pull_request) Successful in 6m28s
Tests and linters / gopls check (pull_request) Successful in 8m55s
Tests and linters / Tests (pull_request) Successful in 10m37s
Tests and linters / Tests with -race (pull_request) Successful in 10m50s
148cc83ed5
Hiding them achieves nothing, as the struct has no methods and is not
used concurrently.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
fyrchik force-pushed fix-events from 148cc83ed5 to d79ec20084 2024-12-06 13:26:24 +00:00 Compare
fyrchik force-pushed fix-events from d79ec20084 to 985be9aef7 2024-12-06 13:37:19 +00:00 Compare
requested reviews from storage-core-committers, storage-core-developers 2024-12-07 08:09:54 +00:00
acid-ant approved these changes 2024-12-08 06:39:13 +00:00
dstepanov-yadro approved these changes 2024-12-11 07:35:56 +00:00
fyrchik merged commit b1614a284d into master 2024-12-11 07:39:50 +00:00
fyrchik deleted branch fix-events 2024-12-11 07:39:52 +00:00
Sign in to join this conversation.
No reviewers
TrueCloudLab/storage-core-developers
No milestone
No project
No assignees
3 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-node#1546
No description provided.