From 0d736f63bbcd0f61115ba7f96218eb70c1b25638 Mon Sep 17 00:00:00 2001 From: Arpit Bhayani Date: Wed, 4 Dec 2024 17:09:10 +0530 Subject: [PATCH] Lint fixes --- internal/eval/store_eval.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/eval/store_eval.go b/internal/eval/store_eval.go index f59e8bb83..c80ad9d63 100644 --- a/internal/eval/store_eval.go +++ b/internal/eval/store_eval.go @@ -2877,9 +2877,8 @@ func evalBFRESERVE(args []string, store *dstore.Store) *EvalResponse { return makeEvalResult(clientio.OK) } else if bf != nil { // bloom filter already exists return makeEvalError(diceerrors.ErrKeyExists) - } else { - return makeEvalResult(clientio.OK) } + return makeEvalResult(clientio.OK) } // evalBFADD evaluates the BF.ADD command responsible for adding an element to a bloom filter. If the filter does not