lvm_thin: don't purge one revision too few

We just added one that must be taken into account.
This commit is contained in:
Rusty Bird 2018-02-16 21:47:35 +00:00
parent 86998b0815
commit ade49d44b7
No known key found for this signature in database
GPG Key ID: 469D78F47AAF2ADF

View File

@ -286,6 +286,7 @@ class ThinVolume(qubes.storage.Volume):
cmd = ['clone', self.vid,
'{}-{}-back'.format(self.vid, int(time.time()))]
qubes_lvm(cmd, self.log)
reset_cache()
self._remove_revisions()
# TODO: when converting this function to coroutine, this _must_ be