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

[minigraph.py]: Check for empty cluster tag before parsing #6440

Merged
merged 1 commit into from
Jan 15, 2021

Conversation

theasianpianist
Copy link
Contributor

@theasianpianist theasianpianist commented Jan 13, 2021

Signed-off-by: Lawrence Lee [email protected]

- Why I did it
Some non-production minigraphs will have an empty ClusterName tag

- How I did it
Check if ClusterName tag is empty before trying to access text

- How to verify it

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

  • 201811
  • 201911
  • 202006
  • 202012

- Description for the changelog

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

@theasianpianist
Copy link
Contributor Author

retest vsimage please

@lguohan lguohan merged commit ffcef27 into sonic-net:master Jan 15, 2021
@lguohan
Copy link
Collaborator

lguohan commented Jan 15, 2021

this is also needed for 202012, right?

lguohan pushed a commit that referenced this pull request Jan 15, 2021
Some non-production minigraphs will have an empty ClusterName tag

Signed-off-by: Lawrence Lee <[email protected]>
@theasianpianist theasianpianist deleted the backend-nonetype-fix branch January 15, 2021 19:25
abdosi pushed a commit that referenced this pull request Jan 28, 2021
Some non-production minigraphs will have an empty ClusterName tag

Signed-off-by: Lawrence Lee <[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.

5 participants