Skip to content

Commit dfed4bf

Browse files
authored
Fix MacOS conditional build in telemetry::process (#1023)
On MacOS, the module `telemetry::process` in `linkerd-app-core` fails to build because the `info!` macro is used on non-Linux systems, but it is not imported. Signed-off-by: Rahul Muttineni <rahulmutt@gmail.com>
1 parent cd6da0f commit dfed4bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

linkerd/app/core/src/telemetry/process.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ impl Report {
2525
.as_secs();
2626

2727
#[cfg(not(target_os = "linux"))]
28-
info!("System-level metrics are only supported on Linux");
28+
tracing::info!("System-level metrics are only supported on Linux");
2929
Self {
3030
start_time: Arc::new(t0.into()),
3131

0 commit comments

Comments
 (0)