Closed JohannesGaessler closed 4 years ago
Somewhere in the dispatcher a dictionary entry was retrieved for special resources. If the special resources didn't exist this caused a KeyError.
Somewhere in the dispatcher a dictionary entry was retrieved for special resources. If the special resources didn't exist this caused a KeyError.
Dispatcher???
Sorry, I meant Scheduler.
Fixes https://github.com/DistributedTaskScheduling/JobAdder/issues/184.
AddCommand.execute now checks if a job can be executed at all. If the requested special resources don't exist at all or in insufficient quantity the job is not added.