open-nomad/.changelog/14497.txt
Seth Hoenig a608e7950e helper: guard against negative inputs into random stagger
This PR modifies RandomStagger to protect against negative input
values. If the given interval is negative, the value returned will
be somewhere in the stratosphere. Instead, treat negative inputs
like zero, returning zero.
2022-09-08 09:17:48 -05:00

4 lines
111 B
Plaintext

```release-note:bug
helpers: Fixed a bug where random stagger func did not protect against negative inputs
```