Skip to content

Commit d964325

Browse files
authored
bug(server): command stats show origin command name (#1761)
the bug: when command is renamed we show the rename command in command stats the fix: print the origin command name in command stats Signed-off-by: adi_holden <[email protected]>
1 parent b9a8dab commit d964325

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/command_registry.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ class CommandRegistry {
156156
auto src = k_v.second.GetStats(thread_index);
157157
if (src.first == 0)
158158
continue;
159-
cb(k_v.first, src);
159+
cb(k_v.second.name(), src);
160160
}
161161
}
162162
};

0 commit comments

Comments
 (0)