#953 fix port reconfig (vlan) fail due to missing DB column data
This commit is contained in:
6
Changes
6
Changes
@@ -1,3 +1,9 @@
|
||||
2.060004 - 2023-01-10
|
||||
|
||||
[BUG FIXES]
|
||||
|
||||
* #953 fix port reconfig (vlan) fail due to missing DB column data
|
||||
|
||||
2.060003 - 2022-12-14
|
||||
|
||||
[ENHANCEMENTS]
|
||||
|
||||
@@ -152,7 +152,7 @@ sub get_port {
|
||||
# accept either ip or dbic object
|
||||
$device = get_device($device);
|
||||
|
||||
my $port = schema(vars->{'tenant'})->resultset('DevicePort')
|
||||
my $port = schema(vars->{'tenant'})->resultset('DevicePort')->with_properties
|
||||
->find({ip => $device->ip, port => $portname});
|
||||
|
||||
return $port;
|
||||
|
||||
Reference in New Issue
Block a user