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

Strip timestamps before searching report string #12616

Merged

Conversation

KacperMalachowski
Copy link
Contributor

@KacperMalachowski KacperMalachowski commented Jan 31, 2025

Description

When fectching the logs from API, we receive timestamps that was interferring with current solution.
Strip it out with simple regex right before parsing the logs to find the reprot string.

Changes proposed in this pull request:

  • Replace timestamps with empty string

Related issue(s)

@kyma-bot kyma-bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. cla: yes Indicates the PR's author has signed the CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jan 31, 2025
@KacperMalachowski KacperMalachowski marked this pull request as ready for review January 31, 2025 08:47
@kyma-bot kyma-bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 31, 2025
@KacperMalachowski KacperMalachowski enabled auto-merge (squash) January 31, 2025 08:51
@kyma-bot kyma-bot added the lgtm Looks good to me! label Jan 31, 2025
@KacperMalachowski KacperMalachowski merged commit 871459a into kyma-project:main Jan 31, 2025
47 checks passed
@KacperMalachowski KacperMalachowski deleted the fix-getting-report branch January 31, 2025 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Indicates the PR's author has signed the CLA. lgtm Looks good to me! size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants