mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-05 02:38:20 +00:00
add fixme comment to replace duplicate nodename cache
that function also caches the value, and it recently was changed to be importable, so we can just import and drop this once a new enough pve-common is available. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
4c1d2d98c4
commit
1a67f99959
@ -121,8 +121,7 @@ PVE::JSONSchema::register_standard_option('pve-qemu-machine', {
|
||||
optional => 1,
|
||||
});
|
||||
|
||||
#no warnings 'redefine';
|
||||
|
||||
# FIXME: remove in favor of just using the INotify one, it's cached there exactly the same way
|
||||
my $nodename_cache;
|
||||
sub nodename {
|
||||
$nodename_cache //= PVE::INotify::nodename();
|
||||
|
Loading…
Reference in New Issue
Block a user