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: fixing the loggers to handle both types of json outputs #7

Merged
merged 2 commits into from
Aug 8, 2024

Conversation

millcityrunner
Copy link

Added in a parser helper for json output for loggers.

src/handlers/index.py Show resolved Hide resolved
@millcityrunner
Copy link
Author

andrew@andrews-MacBook-Pro kubectl-provider % python src/handlers/index_test.py
base case assert passed
multiple logs in one message assert passed
Failed to parse line: {"key": "value", error: Expecting ',' delimiter: line 1 column 16 (char 15)
incomplete log assert passed
more than 2 logs assert passed

@mbonig mbonig merged commit 2786b85 into main Aug 8, 2024
4 checks passed
@mbonig mbonig deleted the aray-finalFix branch August 8, 2024 18:22
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