We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using the sample function library from the documentation, FUNCTION LOAD in iredis fails while it works just fine using regular redis-cli:
FUNCTION LOAD
iredis
redis-cli
$ iredis iredis 1.14.0 (Python 3.12.1) redis-server 7.2.4 Home: https://iredis.xbin.io/ Issues: https://github.com/laixintao/iredis/issues 127.0.0.1:6379> FUNCTION LOAD "#!lua name=mylib \n redis.register_function('myfunc', function(keys, args) return args[1] end)" (error) ERROR Invalid library metadata $ redis-cli 127.0.0.1:6379> FUNCTION LOAD "#!lua name=mylib \n redis.register_function('myfunc', function(keys, args) return args[1] end)" "mylib" 127.0.0.1:6379> FUNCTION DELETE mylib OK
The text was updated successfully, but these errors were encountered:
bugfix: split_command_args trate the \n to 2 chars in quotes.
358b1c5
fix: #489
2df515f
ea929f8
Thanks for reporting, now being fixed in #409 and released in v1.14.1
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Using the sample function library from the documentation,
FUNCTION LOAD
iniredis
fails while it works just fine using regularredis-cli
:The text was updated successfully, but these errors were encountered: