reverse logic on linux_report_network_limits (#34159)
This commit is contained in:
parent
c585e54988
commit
7dd8d4bb64
|
@ -460,7 +460,7 @@ impl SystemMonitorService {
|
||||||
fn linux_report_network_limits(
|
fn linux_report_network_limits(
|
||||||
current_limits: &[(&'static str, &'static InterestingLimit, i64)],
|
current_limits: &[(&'static str, &'static InterestingLimit, i64)],
|
||||||
) -> bool {
|
) -> bool {
|
||||||
!current_limits
|
current_limits
|
||||||
.iter()
|
.iter()
|
||||||
.map(|(key, interesting_limit, current_value)| {
|
.map(|(key, interesting_limit, current_value)| {
|
||||||
datapoint_warn!("os-config", (key, *current_value, i64));
|
datapoint_warn!("os-config", (key, *current_value, i64));
|
||||||
|
|
Loading…
Reference in New Issue