Skip to content

Commit

Permalink
[bugfix](core) fmt lost one parameter (#40914)
Browse files Browse the repository at this point in the history
## Proposed changes

bug is introduced by #40542

<!--Describe your changes.-->

---------

Co-authored-by: yiguolei <[email protected]>
  • Loading branch information
yiguolei and Doris-Extras authored Sep 18, 2024
1 parent d5c24d3 commit 241cb7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/runtime/memory/mem_tracker.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class MemTracker final {

const std::string& label() const { return _label; }
std::string log_usage() const {
return fmt::format("MemTracker Lame={}, Used={}({} B), Peak={}({} B)",
return fmt::format("MemTracker name={}, Used={}({} B), Peak={}({} B)", _label,
MemCounter::print_bytes(consumption()), consumption(),
MemCounter::print_bytes(peak_consumption()), peak_consumption());
}
Expand Down

0 comments on commit 241cb7a

Please sign in to comment.