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

internal/testrunner/runners/pipeline: clarify warning of error.message type #1286

Merged
merged 1 commit into from
Jun 1, 2023

Conversation

efd6
Copy link
Contributor

@efd6 efd6 commented May 30, 2023

The current warning is unclear and confusing when a []any containing only strings is held in error.message. encoding/json will store an array of string as []any, so when we see that check each element for stringness.

Relates to elastic/integrations#6258 (comment).

Please take a look.

…e type

The current warning is unclear and confusing when a []any containing only
strings is held in error.message. encoding/json will store an array of string as
[]any, so when we see that check each element for stringness.
@efd6 efd6 added the enhancement New feature or request label May 30, 2023
@efd6 efd6 requested a review from jsoriano May 30, 2023 23:30
@efd6 efd6 self-assigned this May 30, 2023
@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

cc @efd6

Copy link
Member

@jsoriano jsoriano 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. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants