[pve-devel] applied: [PATCH common] format: fix render_bytes with CLIFormatter
Thomas Lamprecht
t.lamprecht at proxmox.com
Thu Feb 25 21:22:17 CET 2021
On 17.02.21 14:32, Stefan Reiter wrote:
> 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 at proxmox.com>
> ---
>
> Reported here: https://forum.proxmox.com/threads/bug-found-where-to-post.84407/
>
> I'm getting too used to Rust...
>
> src/PVE/Format.pm | 2 ++
> 1 file changed, 2 insertions(+)
>
>
applied, thanks!
More information about the pve-devel
mailing list