Skip to content

Commit e9e4ef1

Browse files
author
gongna-au
committed
chore(commands): fix clang-format violations in cmd_latency.cc
1 parent e83fa66 commit e9e4ef1

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

src/commands/cmd_latency.cc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ namespace redis {
2525

2626
class CommandLatency : public Commander {
2727
public:
28-
Status Execute([[maybe_unused]] engine::Context &ctx, Server *srv, Connection *conn,
29-
std::string *output) override {
28+
Status Execute([[maybe_unused]] engine::Context &ctx, Server *srv, Connection *conn, std::string *output) override {
3029
if (args_.size() < 2) {
3130
return {Status::RedisParseErr, errWrongNumOfArguments};
3231
}
@@ -42,10 +41,12 @@ class CommandLatency : public Commander {
4241
"HELP",
4342
" Print this help message.",
4443
"HISTOGRAM [command ...]",
45-
" Return a cumulative distribution of latencies in the format of a histogram for the specified command(s).",
44+
" Return a cumulative distribution of latencies in the format of a histogram for the specified "
45+
"command(s).",
4646
" If no commands are specified, all commands with latency statistics are returned.",
4747
"RESET [event ...]",
48-
" Return the number of reset event classes (Kvrocks has no spike-sampling infrastructure, always returns 0)."};
48+
" Return the number of reset event classes (Kvrocks has no spike-sampling infrastructure, always returns "
49+
"0)."};
4950
*output = ArrayOfBulkStrings(help);
5051
return Status::OK();
5152
}

0 commit comments

Comments
 (0)