[node-patches] Change in ovirt-node[master]: storage: Add validation to avoid check non exist variable

fabiand at redhat.com fabiand at redhat.com
Wed Sep 3 15:10:50 UTC 2014


Fabian Deutsch has submitted this change and it was merged.

Change subject: storage: Add validation to avoid check non exist variable
......................................................................


storage: Add validation to avoid check non exist variable

This patch adds a validation to check if "OVIRT_INIT" exists
in _functions.OVIRT_VARS before accessing it.

Change-Id: I8afd0288eb1065daefeaca547d41d0312617c0b4
Signed-off-by: Douglas Schilling Landgraf <dougsland at redhat.com>
---
M src/ovirtnode/storage.py
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Fabian Deutsch: Verified; Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I8afd0288eb1065daefeaca547d41d0312617c0b4
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Douglas Schilling Landgraf <dougsland at redhat.com>
Gerrit-Reviewer: Douglas Schilling Landgraf <dougsland at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: Ryan Barry <rbarry at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the node-patches mailing list