Skip to content

Commit 373eb6d

Browse files
631086083jiangcheng
and
jiangcheng
authored
fix a bug belongs to bloomfilter's command bfInsert (#17)
Co-authored-by: jiangcheng <jiangcheng@kuaishou.com>
1 parent 5b4a01c commit 373eb6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

redisbloom/client.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -268,10 +268,10 @@ def bfInsert(self, key, items, capacity=None, error=None, noCreate=None, expansi
268268
params = [key]
269269
self.appendCapacity(params, capacity)
270270
self.appendError(params, error)
271-
self.appendNoCreate(params, noCreate)
272-
self.appendItems(params, items)
273271
self.appendExpansion(params, expansion)
272+
self.appendNoCreate(params, noCreate)
274273
self.appendNoScale(params, noScale)
274+
self.appendItems(params, items)
275275

276276
return self.execute_command(self.BF_INSERT, *params)
277277

0 commit comments

Comments
 (0)