Skip to content

Commit

Permalink
Fix the tls issue about CLUSTER SLOTS cache
Browse files Browse the repository at this point in the history
Signed-off-by: zhaozhao.zz <zhaozhao.zz@alibaba-inc.com>
  • Loading branch information
soloestoy committed May 31, 2024
1 parent dbf227b commit d68d9d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cluster.c
Original file line number Diff line number Diff line change
Expand Up @@ -1415,7 +1415,7 @@ void clusterCommandSlots(client *c) {
* 3) node ID
* ... continued until done
*/
connTypeForCaching conn_type = connIsTLS(c->conn);
connTypeForCaching conn_type = shouldReturnTlsInfo();

if (detectAndUpdateCachedNodeHealth()) clearCachedClusterSlotsResponse();

Expand Down

0 comments on commit d68d9d5

Please sign in to comment.