Dan Kenigsberg has submitted this change and it was merged.
Change subject: API: use modern locking around VM.destroy ......................................................................
API: use modern locking around VM.destroy
cleanup a bit VM.destroy() without functional changes:
- log outside the lock - use context managers for lock
Change-Id: I799b3b0d3e992df988efc6ab8e9263909062db0c Signed-off-by: Francesco Romani fromani@redhat.com Reviewed-on: https://gerrit.ovirt.org/42889 Continuous-Integration: Jenkins CI Reviewed-by: Yaniv Bronhaim ybronhei@redhat.com Reviewed-by: Dan Kenigsberg danken@redhat.com --- M vdsm/API.py 1 file changed, 3 insertions(+), 5 deletions(-)
Approvals: Yaniv Bronhaim: Looks good to me, but someone else must approve Jenkins CI: Passed CI tests Dan Kenigsberg: Looks good to me, approved Francesco Romani: Verified