You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@steve.apache.org by gs...@apache.org on 2022/06/02 07:14:21 UTC

[steve] 05/07: fix longstanding typo

This is an automated email from the ASF dual-hosted git repository.

gstein pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/steve.git

commit 862600be32d5703bd04197331ebae1bdc98eefa0
Author: Greg Stein <gs...@gmail.com>
AuthorDate: Thu Jun 2 02:05:16 2022 -0500

    fix longstanding typo
---
 monitoring/stv_tool.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/monitoring/stv_tool.py b/monitoring/stv_tool.py
index 1f01b0b..302f66b 100755
--- a/monitoring/stv_tool.py
+++ b/monitoring/stv_tool.py
@@ -395,7 +395,7 @@ def exclude_lowest(candidates):
       elif c.ahead == ahead:
         use_rand = True
         if c.rand < rand:
-          ran = c.rand
+          rand = c.rand
           which = c
 
   if use_rand: