Skip to content

Commit

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

bug is introduced by apache#40542

<!--Describe your changes.-->

---------

Co-authored-by: yiguolei <[email protected]>
  • Loading branch information
2 people authored and xinyiZzz committed Oct 16, 2024
1 parent 986350b commit 6466e61
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 6466e61

Please sign in to comment.