fix(versa): change ip-address to ip for consistency in discovery (#2154)

This commit is contained in:
Colin Gagnaire 2020-08-13 16:54:41 +02:00 committed by GitHub
parent fc899a7b19
commit 5ccb6fba34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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};