Skip to content

Commit f52fdf6

Browse files
committed
RI-6336 - added cluster strategy implementation. Fixed integration tests
1 parent 92718d5 commit f52fdf6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

redisinsight/api/src/modules/browser/keys/scanner/strategies/cluster.scanner.strategy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,8 @@ export class ClusterScannerStrategy extends ScannerStrategy {
218218
return {
219219
name: key,
220220
type: result[responseMap.type]?.[1],
221-
ttl: responseMap.ttl !== null ? result[responseMap.ttl][1] : null,
222-
size: responseMap.size !== null ? result[responseMap.size][1] : null,
221+
ttl: responseMap.ttl !== null ? result[responseMap.ttl][1] : undefined,
222+
size: responseMap.size !== null ? result[responseMap.size][1] : undefined,
223223
};
224224
}));
225225
}

0 commit comments

Comments
 (0)