chore: no logging when init table_flow cache if empty (#6785)

chore: no logging

Signed-off-by: discord9 <discord9@163.com>
This commit is contained in:
discord9
2025-08-21 20:38:11 +08:00
committed by GitHub
parent a98c48a9b2
commit 5d5817b851

View File

@@ -91,10 +91,12 @@ fn init_factory(table_flow_manager: TableFlowManagerRef) -> Initializer<TableId,
.map(Arc::new)
.map(Some)
.inspect(|set| {
info!(
"Initialized table_flownode cache for table_id: {}, set: {:?}",
table_id, set
);
if set.as_ref().map(|s| !s.is_empty()).unwrap_or(false) {
info!(
"Initialized table_flownode cache for table_id: {}, set: {:?}",
table_id, set
);
};
})
})
})