diff options
| author | Alexandre Derumier <aderumier@odiso.com> | 2019-11-26 10:00:21 +0100 |
|---|---|---|
| committer | Thomas Lamprecht <t.lamprecht@proxmox.com> | 2019-11-26 12:33:40 +0100 |
| commit | 3709a20378a871844bd12bce67a79386736347ef (patch) | |
| tree | e4dc1df1d01a2fce7dba8ed82b46f03e35ac4ca3 /PVE/API2/Network | |
| parent | 3fd3e9173ae1474dd8b73323af6560adce88ff16 (diff) | |
improve status error description
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Diffstat (limited to 'PVE/API2/Network')
| -rw-r--r-- | PVE/API2/Network/SDN/Zones/Content.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/PVE/API2/Network/SDN/Zones/Content.pm b/PVE/API2/Network/SDN/Zones/Content.pm index 18dcb4c..94536fb 100644 --- a/PVE/API2/Network/SDN/Zones/Content.pm +++ b/PVE/API2/Network/SDN/Zones/Content.pm @@ -49,6 +49,11 @@ __PACKAGE__->register_method ({ type => 'string', optional => 1, }, + statusmsg => { + description => "Status details", + type => 'string', + optional => 1, + }, }, }, links => [ { rel => 'child', href => "{vnet}" } ], @@ -70,6 +75,7 @@ __PACKAGE__->register_method ({ if ($vnet_status->{$id}->{zone} eq $transportid) { my $item->{vnet} = $id; $item->{status} = $vnet_status->{$id}->{'status'}; + $item->{status} = $vnet_status->{$id}->{'statusmsg'}; push @$res,$item; } } |
