[rhinstaller/blivet/pulls/274 master] Do not try to get LVM cache's size from stats for inactive LV
bcl
installerbot-noreply at redhat.com
Wed Nov 11 00:55:03 UTC 2015
> @@ -1808,9 +1809,11 @@ def exists(self):
>
> @property
> def stats(self):
> - if not self._exists:
> + # to get the stats we need the cached LV to exist and be activated
This would be easier to read if it was flipped, if self._exists and self._cached_lv.status: return LVMCacheStats... else: return None
--
To view this pull request on github, visit https://github.com/rhinstaller/blivet/pull/274#discussion_r44489346
More information about the anaconda-patches
mailing list