diff options
| author | Salvatore Orlando <salvatore.orlando@eu.citrix.com> | 2010-12-14 17:16:58 +0000 |
|---|---|---|
| committer | Salvatore Orlando <salvatore.orlando@eu.citrix.com> | 2010-12-14 17:16:58 +0000 |
| commit | a6e1399dfb7ffc411876b537ad5a9b80122feacc (patch) | |
| tree | 15466b8124d5bc53d3ffe29626887b2ad054d6cb /plugins | |
| parent | 1dfcd8e6cdd58a0737a8667f8d2b18190527657a (diff) | |
| download | nova-a6e1399dfb7ffc411876b537ad5a9b80122feacc.tar.gz nova-a6e1399dfb7ffc411876b537ad5a9b80122feacc.tar.xz nova-a6e1399dfb7ffc411876b537ad5a9b80122feacc.zip | |
nothing
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/xenapi/etc/xapi.d/plugins/objectstore | 5 |
1 files changed, 4 insertions, 1 deletions
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) |
