Skip to content
Snippets Groups Projects
Commit dbf72f4c authored by Brian Christiansen's avatar Brian Christiansen
Browse files

Don't show REVOKED sibling jobs unless using -D

parent c6827939
No related branches found
No related tags found
No related merge requests found
...@@ -116,6 +116,10 @@ When data for specific jobs are requested with the \-\-jobs option, ...@@ -116,6 +116,10 @@ When data for specific jobs are requested with the \-\-jobs option,
behavior can be overridden by specifying \-\-duplicates, in which case behavior can be overridden by specifying \-\-duplicates, in which case
all records that match the selection criteria will be returned. all records that match the selection criteria will be returned.
.IP
NOTE: Revoked federated sibling jobs are hidden unless the \-\-duplicates option
is specified.
.TP .TP
\f3\-e\fP\f3,\fP \f3\-\-helpformat\fP \f3\-e\fP\f3,\fP \f3\-\-helpformat\fP
.IP .IP
......
...@@ -1248,6 +1248,12 @@ no_resv: ...@@ -1248,6 +1248,12 @@ no_resv:
xstrcat(*extra, ")"); xstrcat(*extra, ")");
} }
/* Don't show revoked sibling federated jobs w/out -D */
if (!job_cond->duplicates)
xstrfmtcat(*extra, " %s (state != %d)",
*extra ? "&&" : "where",
JOB_REVOKED);
return SLURM_SUCCESS; return SLURM_SUCCESS;
} }
......
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