Skip to content

Commit

Permalink
Fix fast-reboot-dump.py SonicV2Connector after late merge (#1546)
Browse files Browse the repository at this point in the history
#### What I did
This PR #1393 merged after PR: #1392
This caused the first PR to be not aligned with SonicV2Connector change.
This PR motivation is to fix it.
  • Loading branch information
shlomibitton authored and yxieca committed Apr 8, 2021
1 parent f99c5f1 commit 2412e3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/fast-reboot-dump.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ def get_fdb(db, vlan_name, vlan_id, bridge_id_2_iface):
return fdb_entries, available_macs, map_mac_ip

def generate_fdb_entries(filename):
asic_db = swsssdk.SonicV2Connector(host='127.0.0.1')
app_db = swsssdk.SonicV2Connector(host='127.0.0.1')
asic_db = SonicV2Connector(use_unix_socket_path=False)
app_db = SonicV2Connector(use_unix_socket_path=False)
asic_db.connect(asic_db.ASIC_DB, False) # Make one attempt only
app_db.connect(app_db.APPL_DB, False) # Make one attempt only

Expand Down

0 comments on commit 2412e3c

Please sign in to comment.