On 11.12.20 14:52, Dominik Csapak wrote:
> for some controllers/disks there the line is
> Percentage used endurance indicator: x%
> 
> so extend the regex for that possibilty.
> We even had a test-case for SAS but did not notice we could extract
> that info from there...
> 
> Signed-off-by: Dominik Csapak <d.csa...@proxmox.com>
> ---
>  PVE/Diskmanage.pm                               | 4 ++--
>  test/disk_tests/sas/sda_smart_expected.json     | 3 ++-
>  test/disk_tests/sas_ssd/disklist_expected.json  | 2 +-
>  test/disk_tests/sas_ssd/sda_smart_expected.json | 3 ++-
>  4 files changed, 7 insertions(+), 5 deletions(-)
> 
>

applied, thanks!


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to