LVM: Call supports_thin_provisioning as static
This is a staticmethod, so it should be called via the LVM class. pylint: ["Instance of 'BrickLvmTestCase' has no 'fail' member", ""] Change-Id: I5165606df4965103b114dceb6b0bcc384aa4fe80
This commit is contained in:
parent
e66c5a00c6
commit
e312c89d87
@ -492,7 +492,7 @@ class LVM(executor.Executor):
|
||||
|
||||
"""
|
||||
|
||||
if not self.supports_thin_provisioning(self._root_helper):
|
||||
if not LVM.supports_thin_provisioning(self._root_helper):
|
||||
LOG.error(_LE('Requested to setup thin provisioning, '
|
||||
'however current LVM version does not '
|
||||
'support it.'))
|
||||
|
Loading…
Reference in New Issue
Block a user