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

apiserver: improve error message for invalid metadata #342

Merged

Conversation

sam-berning
Copy link
Contributor

Issue number:

Closes #

Description of changes:

The error message for an invalid metadata value doesn't include which data key the invalid metadata is on, making it difficult to determine exactly what the issue is. This adds the missing data key to the error message.

Testing done:

cargo build

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

@sam-berning sam-berning merged commit 3fa4a50 into bottlerocket-os:develop Jan 9, 2025
2 checks passed
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.

3 participants