commit d68ecc03cba517b68910d5bda2b2ceb786b2fe35
Author: Petr Malik <email address hidden>
Date: Fri Apr 24 15:36:06 2015 -0400
Fix process attribute check in BackupRunner
Base 'BackupRunner' checks for the 'process' attribute on __exit__
and terminates the runner process if any.
It however always initializes the process to 'None' in the __init__.
That check is therefore always True.
It should change the condition to check for 'None' value instead.
I also made the 'run' method 'protected' to keep it consistent with the
'pre' and 'post' methods (and also the restore runner which
has the process handling method protected as well).
Reviewed: https:/ /review. openstack. org/177508 /git.openstack. org/cgit/ openstack/ trove/commit/ ?id=d68ecc03cba 517b68910d5bda2 b2ceb786b2fe35
Committed: https:/
Submitter: Jenkins
Branch: master
commit d68ecc03cba517b 68910d5bda2b2ce b786b2fe35
Author: Petr Malik <email address hidden>
Date: Fri Apr 24 15:36:06 2015 -0400
Fix process attribute check in BackupRunner
Base 'BackupRunner' checks for the 'process' attribute on __exit__
and terminates the runner process if any.
It however always initializes the process to 'None' in the __init__.
That check is therefore always True.
It should change the condition to check for 'None' value instead.
I also made the 'run' method 'protected' to keep it consistent with the
'pre' and 'post' methods (and also the restore runner which
has the process handling method protected as well).
Change-Id: I6e98a47d33de7d a95d884fb67b2cf ab918183b3b
Closes-Bug: 1448279