Commit d3be4030 authored by frankiejol's avatar frankiejol
Browse files

refactor(backend): clean for backwards compatibility

parent bfcb8f0a
...@@ -450,6 +450,7 @@ sub _around_create_domain { ...@@ -450,6 +450,7 @@ sub _around_create_domain {
for my $port ( $base->list_ports ) { for my $port ( $base->list_ports ) {
my %port = %$port; my %port = %$port;
delete @port{'id','id_domain','public_port'}; delete @port{'id','id_domain','public_port'};
delete @port{'id_vm', 'is_active'};
$domain->expose(%port); $domain->expose(%port);
} }
} }
......
Supports Markdown
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