diff options
author | Benjamin Drung <benjamin.drung@cloud.ionos.com> | 2019-05-29 13:57:23 +0200 |
---|---|---|
committer | Ben Kochie <superq@gmail.com> | 2019-05-29 06:57:23 -0500 |
commit | dfb6002fad073a66f0439e0d620f4e4a8e963ec2 (patch) | |
tree | 9d64f4bc4a659cd51e4fdb1ab47b3debfaa6343d /text_collector_examples | |
parent | bd3fc09b30e9401746f76d0d3980a3e894c5d012 (diff) | |
download | prometheus_node_collector-dfb6002fad073a66f0439e0d620f4e4a8e963ec2.tar.bz2 prometheus_node_collector-dfb6002fad073a66f0439e0d620f4e4a8e963ec2.tar.xz prometheus_node_collector-dfb6002fad073a66f0439e0d620f4e4a8e963ec2.zip |
btrfs_stats: Upgrade to Python 3 (#1359)
Python 2.7 will not be maintained past 2020. Therefore upgrade
`text_collector_examples/btrfs_stats.py` to Python 3.
Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>
Diffstat (limited to 'text_collector_examples')
-rwxr-xr-x | text_collector_examples/btrfs_stats.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/text_collector_examples/btrfs_stats.py b/text_collector_examples/btrfs_stats.py index b26bfd2..68e89a8 100755 --- a/text_collector_examples/btrfs_stats.py +++ b/text_collector_examples/btrfs_stats.py | |||
@@ -1,4 +1,4 @@ | |||
1 | #!/usr/bin/env python | 1 | #!/usr/bin/env python3 |
2 | 2 | ||
3 | # Collect per-device btrfs filesystem errors. | 3 | # Collect per-device btrfs filesystem errors. |
4 | # Designed to work on Debian and Centos 6 (with python2.6). | 4 | # Designed to work on Debian and Centos 6 (with python2.6). |