Skip to content

Commit

Permalink
[minigraph]: Fix bug in copying list in Python (#2831)
Browse files Browse the repository at this point in the history
'=' cannot be used for copying the list

Signed-off-by: Shu0T1an ChenG <[email protected]>
  • Loading branch information
Shuotian Cheng authored and yxieca committed Apr 26, 2019
1 parent edc8685 commit 34734e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sonic-config-engine/minigraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ def parse_dpg(dpg, hname):
# Erspan session will be attached to all front panel ports,
# if panel ports is a member port of LAG, should add the LAG
# to acl table instead of the panel ports
acl_intfs = pc_intfs
acl_intfs = pc_intfs[:]
for panel_port in port_alias_map.values():
if panel_port not in intfs_inpc:
acl_intfs.append(panel_port)
Expand Down

0 comments on commit 34734e4

Please sign in to comment.