]>
git.proxmox.com Git - pve-common.git/commitdiff
projects
/
pve-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0827edd
)
api dump: ignore proxyto_callback code refs
author
Thomas Lamprecht
<t.lamprecht@proxmox.com>
Sat, 17 Jun 2023 11:52:25 +0000
(13:52 +0200)
committer
Thomas Lamprecht
<t.lamprecht@proxmox.com>
Sat, 17 Jun 2023 11:52:25 +0000
(13:52 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/RESTHandler.pm
patch
|
blob
|
blame
|
history
diff --git
a/src/PVE/RESTHandler.pm
b/src/PVE/RESTHandler.pm
index 6433659f373ad2f2052cf193e7d70cbf27cb762d..b99eb15b245e9c60eb5544197e08401158a98452 100644
(file)
--- a/
src/PVE/RESTHandler.pm
+++ b/
src/PVE/RESTHandler.pm
@@
-189,7
+189,7
@@
sub api_dump_remove_refs {
foreach my $k (keys %$tree) {
if (my $itemclass = ref($tree->{$k})) {
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});
} else {