Commit 42f823f
Fix copy-paste error in CacheProxyConnection server version check (#3918)
The condition on line 1417 incorrectly checked 'server_ver is None or server_ver is None'
when it should check 'server_ver is None or server_name is None'.
This bug would allow server_name to be None without raising an error, which would
then cause issues when server_name is used later in the comparison at line 1424.
Co-authored-by: petyaslavova <petya.slavova@redis.com>1 parent f9a7a35 commit 42f823f
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1414 | 1414 | | |
1415 | 1415 | | |
1416 | 1416 | | |
1417 | | - | |
| 1417 | + | |
1418 | 1418 | | |
1419 | 1419 | | |
1420 | 1420 | | |
| |||
0 commit comments