tenant instead of tenant_id

This commit is contained in:
Shini31 2016-06-08 14:02:13 +02:00
parent f3b405c09b
commit 39f7e7b0c0
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ sub api_request {
foreach my $val (@{$webcontent->{networks}}) {
my $networkname = $val->{name};
$self->{networks_infos}->{$networkname}->{id} = $val->{id};
$self->{networks_infos}->{$networkname}->{tenant_id} = $val->{tenant_id};
$self->{networks_infos}->{$networkname}->{tenant} = $val->{tenant_id};
$self->{networks_infos}->{$networkname}->{state} = $val->{status};
$self->{networks_infos}->{$networkname}->{admin_state} = $val->{admin_state_up};
}