Commit 66739d2
committed
job-manager: improve error message from limit-duration plugin
Problem: The limit-duration plugin does not include the requested
duration or target queue in the error message when rejecting a job.
This can lead to user confusion about the source of the policy limit.
Add the requested duration (formatted as fsd) and the queue (if any)
to the error message sent back to the user.1 parent b430414 commit 66739d2
1 file changed
+10
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| 196 | + | |
196 | 197 | | |
197 | 198 | | |
198 | 199 | | |
199 | 200 | | |
200 | 201 | | |
201 | | - | |
| 202 | + | |
| 203 | + | |
202 | 204 | | |
| 205 | + | |
203 | 206 | | |
204 | 207 | | |
205 | | - | |
206 | | - | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
207 | 214 | | |
208 | 215 | | |
209 | 216 | | |
| |||
0 commit comments