]> git.proxmox.com Git - pve-manager.git/commitdiff
api: return missing 'hardware' entry in node endpoint index
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 10 Mar 2023 13:08:12 +0000 (14:08 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 11 Mar 2023 16:57:02 +0000 (17:57 +0100)
The 'hardware' entry was missing there. While interfacing with it
works, it will not show up during CLI auto completion and in the HTML
debug view (/api2/html/) if not listed here in the API directory
index.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/API2/Nodes.pm

index 47c2d74141e25ea391bebbc79ec02e3d098654fc..f1b3bca415133e933c88c5833f481c1640a0b739 100644 (file)
@@ -268,6 +268,7 @@ __PACKAGE__->register_method ({
            { name => 'disks' },
            { name => 'dns' },
            { name => 'firewall' },
+           { name => 'hardware' },
            { name => 'hosts' },
            { name => 'journal' },
            { name => 'lxc' },