Commit 07b0271a authored by Wolfgang Bumiller's avatar Wolfgang Bumiller Committed by Dietmar Maurer

fix a remote_node_ip calling context

Using remote_node_ip to build a hash needs to explicitly
request a scalar context.
parent 50169fe4
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment