Skip to content

Commit

Permalink
Address review comments:
Browse files Browse the repository at this point in the history
Signed-off-by: IGordynskyi <[email protected]>
  • Loading branch information
IGordynskyi committed Dec 18, 2024
1 parent 2dfc98a commit 54c72a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/sai.py
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ def apply_rec(self, fname):
_, new_keys, _ = self.bulk_create(record[0][1], None, bulk_attrs, len(record)-1)
for idx in range(0, len(new_keys)):
if "oid:" in new_keys[idx]:
self.rec2vid[new_keys[idx]] = new_keys[idx]
self.rec2vid[record[idx + 1][0]] = new_keys[idx]
for idx in range(len(bulk_keys)):
self.create_rec_alias(record[0][1], bulk_attrs[idx], bulk_keys[idx])

Expand Down

0 comments on commit 54c72a2

Please sign in to comment.