This is an automated email from the ASF dual-hosted git repository.
hulk pushed a commit to branch unstable
in repository https://gitbox.apache.org/repos/asf/kvrocks.git
The following commit(s) were added to refs/heads/unstable by this push:
new 0a2bb1af Fix incorrect error message in command DEBUG PROTOCOL:`int`
-> `integer` (#2046)
0a2bb1af is described below
commit 0a2bb1af0f8c18863795e4ab319ca664b522ac27
Author: 忒休斯~Theseus <[email protected]>
AuthorDate: Wed Jan 24 10:02:39 2024 +0800
Fix incorrect error message in command DEBUG PROTOCOL:`int` -> `integer`
(#2046)
Co-authored-by: mwish <[email protected]>
---
src/commands/cmd_server.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/commands/cmd_server.cc b/src/commands/cmd_server.cc
index c86a152c..45a6aeaf 100644
--- a/src/commands/cmd_server.cc
+++ b/src/commands/cmd_server.cc
@@ -633,7 +633,8 @@ class CommandDebug : public Commander {
*output = conn->NilString();
} else {
*output = redis::Error(
- "Wrong protocol type name. Please use one of the following:
string|int|array|set|bignum|true|false|null");
+ "Wrong protocol type name. Please use one of the following: "
+ "string|integer|array|set|bignum|true|false|null");
}
} else {
return {Status::RedisInvalidCmd, "Unknown subcommand, should be DEBUG or
PROTOCOL"};