Skip to content

[intfsorch] Fix bug for VRF existence check#882

Merged
prsunny merged 1 commit intosonic-net:masterfrom
shikenghua:fix_intfsorch_vrf_check
May 8, 2019
Merged

[intfsorch] Fix bug for VRF existence check#882
prsunny merged 1 commit intosonic-net:masterfrom
shikenghua:fix_intfsorch_vrf_check

Conversation

@shikenghua
Copy link
Copy Markdown
Contributor

What I did
Add "!" to the if statement of vrf_name existence checking.
Why I did it
It should skip non-existent VRF, not the opposite.
How I verified it
Verified with local gtest.
Details if related
N/A

Skip non-existent VRF, not the opposite.

Signed-off-by: shikenghua <[email protected]>
@lguohan lguohan requested a review from prsunny May 8, 2019 16:47
@prsunny prsunny merged commit 98fa958 into sonic-net:master May 8, 2019
@shikenghua shikenghua deleted the fix_intfsorch_vrf_check branch May 10, 2019 02:09
EdenGri pushed a commit to EdenGri/sonic-swss that referenced this pull request Feb 28, 2022
oleksandrivantsiv pushed a commit to oleksandrivantsiv/sonic-swss that referenced this pull request Mar 1, 2023
Janetxxx pushed a commit to Janetxxx/sonic-swss that referenced this pull request Nov 10, 2025
Skip non-existent VRF, not the opposite.

Signed-off-by: shikenghua <[email protected]>
jianyuewu pushed a commit to jianyuewu/sonic-swss that referenced this pull request Dec 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants