mirror of
https://git.proxmox.com/git/pve-common
synced 2025-08-15 00:31:27 +00:00
api dump: ignore proxyto_callback code refs
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
0827edde8f
commit
26db1a619b
@ -189,7 +189,7 @@ sub api_dump_remove_refs {
|
|||||||
foreach my $k (keys %$tree) {
|
foreach my $k (keys %$tree) {
|
||||||
if (my $itemclass = ref($tree->{$k})) {
|
if (my $itemclass = ref($tree->{$k})) {
|
||||||
if ($itemclass eq 'CODE') {
|
if ($itemclass eq 'CODE') {
|
||||||
next if $k eq 'completion';
|
next if $k eq 'completion' || $k eq 'proxyto_callback';
|
||||||
}
|
}
|
||||||
$res->{$k} = api_dump_remove_refs($tree->{$k});
|
$res->{$k} = api_dump_remove_refs($tree->{$k});
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user