Skip to content

Commit

Permalink
No need to handle FSError when updating size info.
Browse files Browse the repository at this point in the history
  • Loading branch information
dwlehman committed Aug 13, 2020
1 parent 66778ef commit 9cacd2c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions library/blivet.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,6 @@ def _resize(self):
if size and self._device.size != size:
try:
self._device.format.update_size_info()
except FSError:
raise BlivetAnsibleError("volume '%s' cannot be resize because it needs repair" % self._device.name)
except AttributeError:
pass

Expand Down

0 comments on commit 9cacd2c

Please sign in to comment.