Skip to content
Snippets Groups Projects
Commit 817351ca authored by David Gloe's avatar David Gloe Committed by Morris Jette
Browse files

Update perl API to match Slurm API change

The slurm_sbcast_lookup() API was recently changed to take a step ID.
This changes the Perl API to match that.
parent ac9abdf3
No related branches found
No related tags found
No related merge requests found
...@@ -675,7 +675,7 @@ slurm_job_will_run(slurm_t self, HV *job_desc) ...@@ -675,7 +675,7 @@ slurm_job_will_run(slurm_t self, HV *job_desc)
RETVAL RETVAL
HV * HV *
slurm_sbcast_lookup(slurm_t self, uint32_t job_id) slurm_sbcast_lookup(slurm_t self, uint32_t job_id, uint32_t step_id)
PREINIT: PREINIT:
job_sbcast_cred_msg_t *info; job_sbcast_cred_msg_t *info;
int rc; int rc;
...@@ -685,7 +685,7 @@ slurm_sbcast_lookup(slurm_t self, uint32_t job_id) ...@@ -685,7 +685,7 @@ slurm_sbcast_lookup(slurm_t self, uint32_t job_id)
out of the mix Slurm-> doesn't work, out of the mix Slurm-> doesn't work,
only Slurm:: only Slurm::
*/ */
rc = slurm_sbcast_lookup(job_id, &info); rc = slurm_sbcast_lookup(job_id, step_id, &info);
if (rc == SLURM_SUCCESS) { if (rc == SLURM_SUCCESS) {
RETVAL = newHV(); RETVAL = newHV();
sv_2mortal((SV*)RETVAL); sv_2mortal((SV*)RETVAL);
......
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