Skip to content

Commit

Permalink
NAS-111667 / 13.0 / fix minor typo in wipe.py (#7254)
Browse files Browse the repository at this point in the history
  • Loading branch information
yocalebo committed Aug 24, 2021
1 parent c76573f commit 2e28109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middlewared/middlewared/plugins/disk_/wipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def _wipe(self, data):
size = self._get_size(f)
if size is None or size == 0:
# no size means nothing else will work
self.logger.error('Unable to determine size of "%s"', dev)
self.logger.error('Unable to determine size of "%s"', data['dev'])
return
elif size < 33554432 and data['mode'] == 'QUICK':
# we wipe the first and last 33554432 bytes (32MB) of the
Expand Down

0 comments on commit 2e28109

Please sign in to comment.