mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 18:35:46 +02:00
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 <adi@dragonflydb.io>
This commit is contained in:
parent
b9a8dabb50
commit
d964325f93
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ class CommandRegistry {
|
|||
auto src = k_v.second.GetStats(thread_index);
|
||||
if (src.first == 0)
|
||||
continue;
|
||||
cb(k_v.first, src);
|
||||
cb(k_v.second.name(), src);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue