Skip to content

Commit

Permalink
Clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-k committed Sep 22, 2022
1 parent 7c8550c commit 73f823a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions auditor/src/collectors/slurm_epilog/message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ pub enum Message {

impl Message {
#[tracing::instrument(name = "Obtaining Slurm job info from environment")]
#[allow(dead_code)]
pub fn jobinfo_from_env() -> Result<Message, anyhow::Error> {
let job_id = env::var("SLURM_JOB_ID")?.parse()?;
tracing::debug!("Got Slurm job id: {}", job_id);
Expand Down

0 comments on commit 73f823a

Please sign in to comment.