From a6e1399dfb7ffc411876b537ad5a9b80122feacc Mon Sep 17 00:00:00 2001 From: Salvatore Orlando Date: Tue, 14 Dec 2010 17:16:58 +0000 Subject: nothing --- plugins/xenapi/etc/xapi.d/plugins/objectstore | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/xenapi/etc/xapi.d/plugins/objectstore b/plugins/xenapi/etc/xapi.d/plugins/objectstore index e748742b1..af653c495 100644 --- a/plugins/xenapi/etc/xapi.d/plugins/objectstore +++ b/plugins/xenapi/etc/xapi.d/plugins/objectstore @@ -50,7 +50,10 @@ def is_vdi_pv(session,args): pv=with_vdi_in_dom0(session, vdi, False, lambda dev: _is_vdi_pv('/dev/%s' % dev)) logging.debug("HERE - bye bye") - return pv + if (pv): + return 'true' + else: + return 'false' def _is_vdi_pv(dest): logging.debug("Running pygrub against %s",dest) -- cgit