Skip to content

[T2][Anchor] Fix type check in prefix_list script#23803

Merged
rlhui merged 1 commit intosonic-net:masterfrom
yaqiangz:master_fix_anchor_2
Aug 27, 2025
Merged

[T2][Anchor] Fix type check in prefix_list script#23803
rlhui merged 1 commit intosonic-net:masterfrom
yaqiangz:master_fix_anchor_2

Conversation

@yaqiangz
Copy link
Copy Markdown
Contributor

@yaqiangz yaqiangz commented Aug 25, 2025

Why I did it

Fix incorrect checking introduced by #22337
When invoking prefix_list script in supported roles, the checking function should return rather than exit 0. Exiting 0 would directly terminate the script

Work item tracking
  • Microsoft ADO (number only):

How I did it

When invoking prefix_list script in supported roles, the checking function should return rather than exit 0

How to verify it

Run the script

Which release branch to backport (provide reason below if selected)

  • 202205
  • 202211
  • 202305
  • 202311
  • 202405
  • 202411
  • 202505

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@yaqiangz yaqiangz requested a review from tjchadaga August 26, 2025 00:12
@yaqiangz
Copy link
Copy Markdown
Contributor Author

/azpw run Azure.sonic-buildimage

@mssonicbld
Copy link
Copy Markdown
Collaborator

/AzurePipelines run Azure.sonic-buildimage

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@yaqiangz
Copy link
Copy Markdown
Contributor Author

/azpw run Azure.sonic-buildimage

@mssonicbld
Copy link
Copy Markdown
Collaborator

/AzurePipelines run Azure.sonic-buildimage

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Copy Markdown
Contributor

@deepak-singhal0408 deepak-singhal0408 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yaqiangz
Copy link
Copy Markdown
Contributor Author

Hi @rlhui could you please help to merge this PR?

@rlhui rlhui merged commit ae869f5 into sonic-net:master Aug 27, 2025
20 checks passed
@mssonicbld
Copy link
Copy Markdown
Collaborator

Cherry-pick PR to 202505: #23827

FengPan-Frank pushed a commit to FengPan-Frank/sonic-buildimage that referenced this pull request Dec 4, 2025
Fix incorrect checking introduced by sonic-net#22337
When invoking prefix_list script in supported roles, the checking function should return rather than exit 0. Exiting 0 would directly terminate the script

Signed-off-by: Feng Pan <fenpan@microsoft.com>
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.

6 participants