Fix an error in VM migration with volumes

It shouldn't use name arguement for call_plugin().

Change-Id: I7e30741c1af2cff1bd47367fd0ac656c3a4e449b
Closes-Bug: #1703805
This commit is contained in:
jianghua wang 2017-07-12 11:55:11 +01:00
parent b338f128dd
commit 0e64d44fd2
1 changed files with 1 additions and 1 deletions

View File

@ -358,7 +358,7 @@ class XenAPISession(object):
def is_xsm_sr_check_relaxed(self):
if self._cached_xsm_sr_relaxed is None:
config_value = self.call_plugin('config_file', 'get_val',
key='relax-xsm-sr-check')
dict(key='relax-xsm-sr-check'))
if not config_value:
version_str = '.'.join(str(v) for v in self.platform_version)
if versionutils.is_compatible('2.1.0', version_str,