Commit 5519acd6 authored by fv3rdugo's avatar fv3rdugo
Browse files

fix(ports): not alter table needs

Issue #1197
parent ecb30c32
......@@ -2208,6 +2208,10 @@ sub expose($self, @args) {
$internal_port = delete $args{port};
$internal_port = delete $args{internal_port} if exists $args{internal_port};
delete $args{internal_ip};
# remove old fields
for (qw(public_ip active description)) {
delete $args{$_};
}
confess "Error: Missing port" if !defined $internal_port && !$id_port;
confess "Error: internal port not a number '".($internal_port or '<UNDEF>')."'"
......
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