From dbb6fef077ce9ac6a0f22b59989f86c4c6710959 Mon Sep 17 00:00:00 2001 From: Abdullah Al Shaad <67102615+AbdullahAlShaad@users.noreply.github.com> Date: Mon, 6 May 2024 10:52:14 +0600 Subject: [PATCH] Fix Database Count Limitation (#9) Signed-off-by: AbdullahAlShaad --- pkg/redisdump/redisdump.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/redisdump/redisdump.go b/pkg/redisdump/redisdump.go index ebe0a43..c294586 100644 --- a/pkg/redisdump/redisdump.go +++ b/pkg/redisdump/redisdump.go @@ -255,10 +255,6 @@ func parseKeyspaceInfo(keyspaceInfo string) ([]uint8, error) { if err != nil { return nil, err } - if dbIndex > 16 { - return nil, fmt.Errorf("Error parsing INFO keyspace") - } - dbs = append(dbs, uint8(dbIndex)) }