From 5ccb6fba34b9c51fbcb3b0d98db5f0a9ab5df9c4 Mon Sep 17 00:00:00 2001 From: Colin Gagnaire Date: Thu, 13 Aug 2020 16:54:41 +0200 Subject: [PATCH] fix(versa): change ip-address to ip for consistency in discovery (#2154) --- network/versa/director/restapi/mode/discovery.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network/versa/director/restapi/mode/discovery.pm b/network/versa/director/restapi/mode/discovery.pm index 6f1a83bb3..30b8cb2d6 100644 --- a/network/versa/director/restapi/mode/discovery.pm +++ b/network/versa/director/restapi/mode/discovery.pm @@ -61,7 +61,7 @@ sub discovery_devices { $node->{uuid} = $device->{uuid}; $node->{name} = $device->{name}; $node->{type} = $device->{type}; - $node->{'ip-address'} = $device->{'ip-address'}; + $node->{ip} = $device->{'ip-address'}; $node->{organizations} = []; foreach (@{$device->{orgs}}) { push @{$node->{organizations}}, $options{organizations}->{entries}->{ $_->{uuid} }->{name};