diff --git a/CHANGELOG b/CHANGELOG index 6414fd3f..d876c276 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,11 +1,12 @@ jc changelog -20240502 v1.25.3 +20240510 v1.25.3 - Add `battery_percentage` field to `bluetoothctl` parser output - Fix `pci-ids` parser to correctly handle multiple subdevices - Fix `pip-show` parser to handle multi-line fields with a beginning blank line - Fix `top` parsers to quiet uptime info parsing - Fix `traceroute` parser to correctly handle hops with multiple IPs +- Fix `zpool-status` parser for config items lacking data values - Optimize some tests by removing timezone settings and using quiet=True - Documentation updates diff --git a/docs/parsers/zpool_status.md b/docs/parsers/zpool_status.md index 99a5452a..385c8a38 100644 --- a/docs/parsers/zpool_status.md +++ b/docs/parsers/zpool_status.md @@ -34,11 +34,11 @@ Schema: "config": [ { "name": string, - "state": string, - "read": integer, - "write": integer, - "checksum": integer, - "errors": string, + "state": string/null, + "read": integer/null, + "write": integer/null, + "checksum": integer/null, + "errors": string/null, } ], "errors": string diff --git a/jc/parsers/zpool_status.py b/jc/parsers/zpool_status.py index a83959f6..8db98955 100644 --- a/jc/parsers/zpool_status.py +++ b/jc/parsers/zpool_status.py @@ -29,11 +29,11 @@ Schema: "config": [ { "name": string, - "state": string, - "read": integer, - "write": integer, - "checksum": integer, - "errors": string, + "state": string/null, + "read": integer/null, + "write": integer/null, + "checksum": integer/null, + "errors": string/null, } ], "errors": string