mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-17 20:23:28 +00:00
fix a remote_node_ip calling context
Using remote_node_ip to build a hash needs to explicitly request a scalar context.
This commit is contained in:
parent
6bc821039a
commit
5301228562
@ -426,7 +426,7 @@ __PACKAGE__->register_method({
|
||||
type => 'node',
|
||||
id => "node/$nodename",
|
||||
name => $nodename,
|
||||
ip => PVE::Cluster::remote_node_ip($nodename),
|
||||
ip => scalar(PVE::Cluster::remote_node_ip($nodename)),
|
||||
'local' => 1,
|
||||
nodeid => 0,
|
||||
online => 1,
|
||||
|
Loading…
Reference in New Issue
Block a user