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

fix: improve resourcemanager handling of augmented header #2584

Merged
merged 1 commit into from May 24, 2023

Conversation

schoren
Copy link
Collaborator

@schoren schoren commented May 24, 2023

This PR fixes an issue triggered by running tracetest get datastore --id current -o json, where the server panics. The underlying issue is that the request is being sent with the X-Tracetest-Agumented header, but the resource handler doesn't implement the method, causing a nil pointer reference.

This PR handles the nil pointer.

Checklist

  • tested locally
  • added new dependencies
  • updated the docs
  • added a test

@schoren schoren merged commit 968de72 into main May 24, 2023
30 checks passed
@schoren schoren deleted the fix-rm-augmented-handling branch May 24, 2023 22:05
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.

None yet

2 participants