_set_execute() has been unused since
b569df9, and _size_str() has
been done since
f4a9429. So this patch removes them for clean-up.
Change-Id: If8a2703afb08623b69ec6adc105cf58b0e4a15dc
else:
self.vg_thin_pool = pool_name
- def _set_execute(self, execute):
- self._execute = execute
-
- def _size_str(self, size_in_g):
- if '.00' in size_in_g:
- size_in_g = size_in_g.replace('.00', '')
-
- if int(size_in_g) == 0:
- return '100m'
-
- return '%sg' % size_in_g
-
def _vg_exists(self):
"""Simple check to see if VG exists.