Skip to content

Commit

Permalink
rewrite DEVICE_PATTERN
Browse files Browse the repository at this point in the history
Signed-off-by: wangqing <wangqing@uniontech.com>
  • Loading branch information
wangqing committed Apr 22, 2024
1 parent 99a1e75 commit 489d83c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion btrfs_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from prometheus_client import CollectorRegistry, Gauge, generate_latest


DEVICE_PATTERN = re.compile(r"^\[([^\]]+)\]\.(\S+)\s+(\d+)$", re.MULTILINE)
DEVICE_PATTERN = re.compile(r"^\[([^\]]+)\]\.(\S+)\s+(\d+)$")


def get_btrfs_mount_points():
Expand Down

0 comments on commit 489d83c

Please sign in to comment.