Skip to content

Commit

Permalink
Fix issues brought up by CI.
Browse files Browse the repository at this point in the history
- Remove trailing whitespace
- Remove unused variable.
  • Loading branch information
HaseHarald committed Aug 23, 2020
1 parent 7bf77a0 commit 5f88f9a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugins/disk/btrfs_device_stats
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/python3
#
# This file contains a munin-plugin to gather btrfs statistics per device.
#
Expand Down Expand Up @@ -81,7 +81,6 @@ def munin_values(fs):

for this_device in devices:
this_dev_info = fs.dev_info(this_device.devid)
this_dev_name = this_dev_info.path.replace('/dev/', '')
this_dev_stat = fs.dev_stats(this_device.devid, False)

corruption_errs = this_dev_stat.corruption_errs
Expand Down

0 comments on commit 5f88f9a

Please sign in to comment.