]> git.proxmox.com Git - pve-guest-common.git/commit - PVE/GuestHelpers.pm
followup: rename to print_snapshot_tree, add comment and rename $res param
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 1 Oct 2019 15:20:21 +0000 (17:20 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 1 Oct 2019 15:20:27 +0000 (17:20 +0200)
commit5ee5f8873ea494339fe7251b0a3e46d99d931c81
tree5f75f72e7e1b0b6304227ea0ab6d2891740c009c
parent725dcadba39d96acafdb6d05529f1da3521e445b
followup: rename to print_snapshot_tree, add comment and rename $res param

This was taken from a CLI helper, there $res is a common parameter
name which denotes that it's the res from the API call the CLI
command bases on. But here that makes no sense and is not really
telling about what the value(s) of $res could be. Further explain
that with a comment.

As this also prints uncoditionally to STDOUT let's say so through the
method name.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/GuestHelpers.pm