diff --git a/src/valkey-cli.c b/src/valkey-cli.c index a5b18dbfc4..165a932961 100644 --- a/src/valkey-cli.c +++ b/src/valkey-cli.c @@ -6401,10 +6401,7 @@ static int clusterManagerCheckCluster(int quiet) { clusterManagerOnError(err); result = 0; if (do_fix /* && result*/) { - dictType dtype = clusterManagerDictType; - dtype.keyDestructor = dictSdsDestructor; - dtype.valDestructor = dictListDestructor; - clusterManagerUncoveredSlots = dictCreate(&dtype); + clusterManagerUncoveredSlots = dictCreate(&clusterManagerLinkDictType); int fixed = clusterManagerFixSlotsCoverage(slots); if (fixed > 0) result = 1; }