Skip to content

Commit

Permalink
fixed nested literals for older pythons
Browse files Browse the repository at this point in the history
  • Loading branch information
mgheorghe committed Apr 23, 2024
1 parent 374982a commit e2b5bc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dpugen/saigen/outbound_routing.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def items(self):
'key': {
'switch_id': '$SWITCH_ID',
'eni_id': f'$eni_#{eni}',
'destination': f'{ip}/{route['mask']}'
'destination': f'{ip}/{route["mask"]}'
},
'attributes': [
'SAI_OUTBOUND_ROUTING_ENTRY_ATTR_ACTION', 'SAI_OUTBOUND_ROUTING_ENTRY_ACTION_ROUTE_VNET',
Expand All @@ -142,7 +142,7 @@ def items(self):
'key': {
'switch_id': '$SWITCH_ID',
'eni_id': f'$eni_#{eni}',
'destination': f'{ip}/{route['mask']}'
'destination': f'{ip}/{route["mask"]}'
},
'attributes': [
'SAI_OUTBOUND_ROUTING_ENTRY_ATTR_ACTION', 'SAI_OUTBOUND_ROUTING_ENTRY_ACTION_ROUTE_VNET_DIRECT',
Expand Down

0 comments on commit e2b5bc8

Please sign in to comment.