diff options
author | Cameron Moore <moorereason@gmail.com> | 2022-05-25 21:14:37 -0500 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-05-26 10:39:29 +0200 |
commit | 6a5acd753abbd899547c89b369de71df639cce19 (patch) | |
tree | 2aca1bc7d9ea86129819db0f248fe83c95f9cd12 /deploy/deployConfig.go | |
parent | 805b21555e283c28a669943a36af6d6d699e9198 (diff) |
metrics: Fix divide by zero error
Under certain conditions, `howSimilarString` could reach a divide-by-
zero situation which causes bogus values to print in the cache potential
column of the template hints output. This situation essentially causes
a `int(math.NaN())` value to be returned and hilarity ensues thereafter.
Diffstat (limited to 'deploy/deployConfig.go')
0 files changed, 0 insertions, 0 deletions