forked from TrueCloudLab/frostfs-node
Current flow is hard to reason about, #1601 is a notorious example of accidental complexity. 1. Remove multiple nested ifs, use depth=1. 2. Process each status exactly once, hopefully preventing bugs like #1601. Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com> |
||
---|---|---|
.. | ||
check.go | ||
check_test.go | ||
ec.go | ||
ec_test.go | ||
metrics.go | ||
nodecache.go | ||
option.go | ||
policer.go | ||
policer_test.go | ||
process.go |