Allow generate_inbound_connection_subgraph to be "dead code"
This is temporary, pending completion of work started in PR
@@ -13,6 +13,12 @@ use crate::models::utc_to_epoch;
/// Creates a subgraph describing an inbound `NetworkEvent`
///
/// The subgraph generated is similar to the graph generated by [super::generate_outbound_connection_subgraph]
+
+// The sole callsite was commented out in
+// https://github.com/grapl-security/grapl/commit/e5e2c50d2ccb99b08e1d0c520f4f7a00cfc9e9a6,
+// pending further refactoring. It's not yet really "dead code", but it
+// currently technically is.
+#[allow(dead_code)]
pub fn generate_inbound_connection_subgraph(
conn_log: &NetworkEvent,
) -> Result<Graph, failure::Error> {
