pve-common/src
Stefan Reiter 3bb8802a08 format: fix render_bytes with CLIFormatter
CLIFormatter passes in an options hash as a second paramter, which so
far was ignored. Now that we treat it as a precision parameter, check if
it is a hash and extract the option from it before using it.

Otherwise perl puts HASH(0x...) into the format and sprintf chokes.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
2021-02-25 21:20:59 +01:00
..
PVE format: fix render_bytes with CLIFormatter 2021-02-25 21:20:59 +01:00
Makefile extract PVE::Format from PVE::CLIFormatter for reuse 2021-02-08 14:40:38 +01:00