5
0
mirror of git://git.proxmox.com/git/pve-guest-common.git synced 2025-01-11 05:17:49 +03:00

helpers: s/conf_table_with_pending/config_with_pending_array/ and comment

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-10-18 12:53:43 +02:00
parent 151444810f
commit 550010301d

View File

@ -142,7 +142,12 @@ sub format_pending {
}
}
sub conf_table_with_pending {
# returns the config as an array of hashes, each hash can have the following keys:
# key (the config property name, non-optional)
# value (the current value in effect - if any)
# pending (a new, still pending, value - if any)
# delete (when deletions are pending, this is set to either 2 (force) or 1 (graceful))
sub config_with_pending_array {
my ($conf, $pending_delete_hash) = @_;
my $res = [];