Skip to content

[warm-reboot] Fix trying to access match group when regex match failed#1095

Merged
neethajohn merged 1 commit intosonic-net:masterfrom
neethajohn:fix_no_group_error
Sep 10, 2019
Merged

[warm-reboot] Fix trying to access match group when regex match failed#1095
neethajohn merged 1 commit intosonic-net:masterfrom
neethajohn:fix_no_group_error

Conversation

@neethajohn
Copy link
Contributor

Signed-off-by: Neetha John [email protected]

Description of PR

Prior to the fix, the code was trying to access a regexp match group when match fails.

Type of change

  • Bug fix
  • [] Testbed and Framework(new/improvement)
  • [] Test case(new/improvement)

Approach

How did you do it?

Use the portchannel name directly instead of using match.group()

How did you verify/test it?

Ran the warm reboot sad path lag testcase with the change and it passed

Any platform specific information?

Supported testbed topology if it's a new test case?

@neethajohn neethajohn merged commit 29cb3fc into sonic-net:master Sep 10, 2019
@neethajohn neethajohn deleted the fix_no_group_error branch September 10, 2019 19:33
yxieca pushed a commit that referenced this pull request Sep 11, 2019
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
 Add ip_prefix len based on proxy_arp status (sonic-net#1096)
[sonic-cfggen][QoS][multi ASIC] Multi ASIC QoS and Buffer config
generation support, merge from master (sonic-net#1095)

Signed-off-by: Abhishek Dosi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants