policer: Fix svacer warning #1254
No reviewers
Labels
No labels
P0
P1
P2
P3
badger
frostfs-adm
frostfs-cli
frostfs-ir
frostfs-lens
frostfs-node
good first issue
triage
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
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#1254
Loading…
Reference in a new issue
No description provided.
Delete branch "dstepanov-yadro/frostfs-node:fix/validate_nodes_len"
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?
Fix
DIVISION_BY_ZERO.EX Variable len(nodes), whose possible value set allows a zero value at ec.go:102 by calling function 'builtin.len', is used as a denominator at ec.go:102.
Logically
nodes
must be non zero length. But add check so that the robots don't worry.3a705a9c16
to4cba107063
4cba107063
to03e4257460