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

t3c fix null ptr issue in client fall back #7817

Merged
merged 2 commits into from
Sep 26, 2023

Conversation

jpappa200
Copy link
Contributor

topology node structure has an id and lastUpdated field that is not included in the response structure. this was causing a null ptr exception when the client would fall back to the previous API version. removed the 2 unused fields.


Which Traffic Control components are affected by this PR?

  • Traffic Control Cache Config (t3c, formerly ORT)

What is the best way to verify this PR?

If this is a bugfix, which Traffic Control versions contained the bug?

PR submission checklist

Copy link
Member

@zrhoffman zrhoffman left a comment

Choose a reason for hiding this comment

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

Looks good! In the future, let's just remove LastUpdated from TopologyNode.

@zrhoffman zrhoffman merged commit 9b4c31e into apache:master Sep 26, 2023
28 checks passed
jpappa200 added a commit to jpappa200/trafficcontrol that referenced this pull request Sep 27, 2023
* removed structure fields not used in topology response

* added change log entry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants