xdmod
xdmod copied to clipboard
Fix job array display.
The current code has incomplete support for job arrays - only the primary job identifier is shown. This change adds a new internal parameter called provider_job_id which contains the job index
for non-array jobs and the base_job_index[array_index]
for array jobs.
There is a corresponding pull request for the xmdod-supremm module and for the xdmod-xsede module (https://github.com/ubccr/xdmod-xsede/pull/400) that should all be merged at the same time.
before:
after:
note I changed the variable name since the new variable contains something which is semantically different from the old one. Also it makes it easier to find all the places where the code needs to be updated!