Fix udeps by deadcode'ing the functions related to 'guessing'
@@ -188,6 +188,9 @@ where
Ok(())
}
+ // disabled while 'guessing' is disabled
+ // https://github.com/grapl-security/issue-tracker/issues/1002
+ #[allow(dead_code)]
#[tracing::instrument(skip(self, session), err)]
pub(crate) async fn make_create_time_canonical(&self, session: &Session) -> Result<(), Error> {
info!(message = "Updating session end time");
@@ -235,6 +238,9 @@ where
Ok(())
}
+ // disabled while 'guessing' is disabled
+ // https://github.com/grapl-security/issue-tracker/issues/1002
+ #[allow(dead_code)]
// Update version, and use it as a constraint
#[tracing::instrument(skip(self, session), err)]
pub(crate) async fn update_session_end_time(
@@ -310,6 +316,9 @@ where
Ok(())
}
+ // disabled while 'guessing' is disabled
+ // https://github.com/grapl-security/issue-tracker/issues/1002
+ #[allow(dead_code)]
#[tracing::instrument(skip(self, session), err)]
pub(crate) async fn delete_session(&self, session: &Session) -> Result<(), Error> {
let del_req = DeleteItemInput {
