Skip to content

Commit 6554f1d

Browse files
authored
Merge pull request #174 from stackhpc/upstream/2023.1-2024-08-26
Synchronise 2023.1 with upstream
2 parents b5bf628 + 1605036 commit 6554f1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

neutron/db/db_base_plugin_common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,10 +227,10 @@ def _make_port_dict(self, port, fields=None,
227227
bulk=False):
228228
if isinstance(port, port_obj.Port):
229229
port_data = port.db_obj
230-
standard_attr_id = port.db_obj.standard_attr.id
230+
standard_attr_id = port.db_obj.standard_attr_id
231231
else:
232232
port_data = port
233-
standard_attr_id = port.standard_attr.id
233+
standard_attr_id = port.standard_attr_id
234234

235235
mac = port["mac_address"]
236236
if isinstance(mac, netaddr.EUI):

0 commit comments

Comments
 (0)