Merge "Handle ports with no 'created_at' attribute"
This commit is contained in:
@@ -4862,7 +4862,7 @@ class OpenStackCloud(
|
||||
# select.
|
||||
for port in sorted(
|
||||
ports,
|
||||
key=operator.itemgetter('created_at'),
|
||||
key=lambda p: p.get('created_at', 0),
|
||||
reverse=True):
|
||||
for address in port.get('fixed_ips', list()):
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user