[node-patches] Change in ovirt-node[master]: Move the check for DEV_LIVE in ovirtfunctions to a function

mburns at redhat.com mburns at redhat.com
Tue Jul 9 13:37:31 UTC 2013


Michael Burns has submitted this change and it was merged.

Change subject: Move the check for DEV_LIVE in ovirtfunctions to a function
......................................................................


Move the check for DEV_LIVE in ovirtfunctions to a function

Instead of using DEV_LIVE as a global which depends on
ovirt-functions returning a non-zero exit status (and crashes the
storage page if it does not), move it to a function which can be
queried only if ovirtfunctions needs to know where the live disk
is.

Change-Id: Ia9d609c298f8093701ba19dc847b2ee0a2d00fae
Signed-off-by: Ryan Barry <rbarry at redhat.com>
---
M src/ovirtnode/ovirtfunctions.py
1 file changed, 11 insertions(+), 10 deletions(-)

Approvals:
  Michael Burns: Verified; Looks good to me, approved


-- 
To view, visit http://gerrit.ovirt.org/16520
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia9d609c298f8093701ba19dc847b2ee0a2d00fae
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Ryan Barry <rbarry at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at fedoraproject.org>
Gerrit-Reviewer: Michael Burns <mburns at redhat.com>



More information about the node-patches mailing list