Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sonic-yang] Backlinks are none when there is 0 backlinks #7939

Closed
wants to merge 1 commit into from

Conversation

ghooo
Copy link
Contributor

@ghooo ghooo commented Jun 22, 2021

Why I did it

Backlinks are none when there is 0 backlinks. without this change backlinks.number() throws an exception when backlinks==None.

How I did it

Allow backlinks to be None, so we get an empty list as a return from find_data_dependencies

How to verify it

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

@lguohan
Copy link
Collaborator

lguohan commented Jun 23, 2021

@ghooo , can you push to your own fork, not azure repo.

@lguohan lguohan closed this Jun 23, 2021
@lguohan lguohan deleted the none-backlinks branch November 9, 2021 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
YANG YANG model related changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants