Skip to content

Commit 7a4263d

Browse files
committed
Remove TODO about renaming app_metrics field/parameter
The name is fine. When it was tried to be changed in #3636 we could not come up with anything better really. Signed-off-by: Patrick Roy <[email protected]>
1 parent e08e39a commit 7a4263d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/vmm/src/logger/metrics.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,6 @@ pub struct Metrics<T: Serialize, M: Write + Send> {
9494

9595
impl<T: Serialize + Debug, M: Write + Send + Debug> Metrics<T, M> {
9696
/// Creates a new instance of the current metrics.
97-
// TODO: We need a better name than app_metrics (something that says that these are the actual
98-
// values that we are writing to the metrics_buf).
9997
pub const fn new(app_metrics: T) -> Metrics<T, M> {
10098
Metrics {
10199
metrics_buf: OnceLock::new(),

0 commit comments

Comments
 (0)