From c55dc91581ddee1e90df05534fa62987e1a70b9d Mon Sep 17 00:00:00 2001
From: Moe Jette <jette1@llnl.gov>
Date: Tue, 15 Oct 2002 19:54:18 +0000
Subject: [PATCH] Fix typo in function definition of unpack_old_job_alloc
 step_mgr was incrementing step_id twice for each job step started.

---
 src/slurmctld/step_mgr.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/slurmctld/step_mgr.c b/src/slurmctld/step_mgr.c
index b164c353a94..510234f590d 100644
--- a/src/slurmctld/step_mgr.c
+++ b/src/slurmctld/step_mgr.c
@@ -347,7 +347,6 @@ step_create ( step_specs *step_specs, struct step_record** new_step_record  )
 		fatal ("create_step_record failed with no memory");
 
 	/* set the step_record values */
-	step_ptr->step_id = (job_ptr->next_step_id)++;
 	step_ptr->node_bitmap = nodeset;
 	step_ptr->cyclic_alloc = step_specs->task_dist;
 
-- 
GitLab