Dan Kenigsberg has submitted this change and it was merged.
Change subject: vm: switch to response.error() ......................................................................
vm: switch to response.error()
response.error() offers a nicer and cleaner way to report error responses instead of the bare errCode['something'], even when we are fine with the default generic message.
This patch makes use of response.error() all across vm.py.
Change-Id: I3825faf7a144ef8973dee3cb9f9f0e52fabfc039 Signed-off-by: Francesco Romani fromani@redhat.com Reviewed-on: https://gerrit.ovirt.org/38268 Reviewed-by: Nir Soffer nsoffer@redhat.com Continuous-Integration: Jenkins CI Reviewed-by: Dan Kenigsberg danken@redhat.com --- M vdsm/virt/vm.py 1 file changed, 62 insertions(+), 64 deletions(-)
Approvals: Nir Soffer: Looks good to me, but someone else must approve Jenkins CI: Passed CI tests Dan Kenigsberg: Looks good to me, approved Francesco Romani: Verified