Merge "Fix job book deletion issue in taskflow" into stable/wallaby
This commit is contained in:
@@ -147,6 +147,7 @@ class DynamicLoggingConductor(impl_blocking.BlockingConductor):
|
||||
if (not CONF.task_flow.jobboard_save_logbook and
|
||||
job.state == states.COMPLETE):
|
||||
LOG.debug("Job %s is complete. Cleaning up job logbook.", job.name)
|
||||
if job.book:
|
||||
try:
|
||||
self._persistence.get_connection().destroy_logbook(
|
||||
job.book.uuid)
|
||||
|
||||
Reference in New Issue
Block a user