Make the finish function return the error status explicitly
Make the finish function return the error status explicitly

The earlier version of the Finish function assumed that checking if the
value of the response is None would suffice to check if any errors have
occurred. This is not, and this patch adjusts the function to expose
the status already known within.

Signed-off-by: Hrvoje Ribicic <be5828fca31f89218048bec4189e30a581aa65da@google.com>
Reviewed-by: Helga Velroyen <2d0126b1ec6f9ec5cbec4a7012aa14faeaef10f5@google.com>

yiannist/ganeti,onponomarev/ganeti,dimara/ganeti,apyrgio/ganeti,leshchevds/ganeti,grnet/snf-ganeti,yiannist/ganeti,bitemyapp/ganeti,ganeti/ganeti,ganeti/ganeti,andir/ganeti,onponomarev/ganeti,leshchevds/ganeti,apyrgio/ganeti,ganeti-github-testing/ganeti-test-1,dimara/ganeti,bitemyapp/ganeti,mbakke/ganeti,andir/ganeti,leshchevds/ganeti,grnet/snf-ganeti,mbakke/ganeti,ganeti/ganeti,mbakke/ganeti,ganeti-github-testing/ganeti-test-1,andir/ganeti,yiannist/ganeti