Skip to content
Snippets Groups Projects
Commit 9c76683a authored by Moe Jette's avatar Moe Jette
Browse files
parent fa7e4161
No related branches found
No related tags found
No related merge requests found
......@@ -82,6 +82,7 @@ documents those changes that are of interest to users and admins.
=========================
-- Sacct bug fixes: Report correct user name for job step, show "uid.gid"
as fifth field of job step record (Andy Riebs, slurm.hp.sacct_uid.patch).
-- Add job_id to maui scheduler plugin start job status message.
* Changes in SLURM 0.6.9
========================
......
......@@ -69,6 +69,7 @@ wiki_startjob_t::action( void )
{
u_int32_t id = (u_int32_t) atol( m_jobid );
int rc;
char status_msg[128];
// *
// If Maui has specified a node list to run on, change the
......@@ -101,10 +102,14 @@ wiki_startjob_t::action( void )
if (rc == SLURM_SUCCESS)
{
return new wiki_status_t( 0, "SUCCESS: job %s started successfully");
snprintf(status_msg, sizeof(status_msg),
"SUCCESS: job %s started successfully", m_jobid);
return new wiki_status_t( 0, status_msg);
}
else
{
return new wiki_status_t( -1, "ERROR: job %s failed to start");
snprintf(status_msg, sizeof(status_msg),
"ERROR: job %s failed to start", m_jobid);
return new wiki_status_t( -1, status_msg);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment