diff --git a/src/bin/scheduler/setup/general.rs b/src/bin/scheduler/setup/general.rs index 339f4931..084ebf54 100644 --- a/src/bin/scheduler/setup/general.rs +++ b/src/bin/scheduler/setup/general.rs @@ -122,7 +122,7 @@ fn setup_with_one_directory_per_user( return (surviving_plans, failures); } for (session, plans_in_session) in plans_by_sessions(plans) { - let user_target = &target.join(&session.id()); + let user_target = &target.join(session.id()); if let Err(e) = create_dir_all(user_target) { let error = anyhow!(e).context(format!( "Failed to create directory {} for session {}",