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: support indexing more types #36401

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

znd4
Copy link

@znd4 znd4 commented Nov 16, 2024

Description

Bugfix: support indexing more types

Important

I'm not sure if this should support indexing into slices of byte or []byte (I've gone with []byte for now

Link to tracking issue

Fixes #29441

Testing

currently running make gotest (it's taking longer than I expected). I noticed that #35581 added to e2e_test.go. I can add a test case there, but it'll take me a bit longer to grok how those are working

Update: I'm currently getting make gotest failures on main from internal/scraper/processscraper

Documentation

changelog

@znd4
Copy link
Author

znd4 commented Nov 16, 2024

Ah, sorry I didn't get how to run just the pkg tests, and one of the other groups was causing make gotest to fail early (guessing b.c. I'm on darwin)

@znd4
Copy link
Author

znd4 commented Nov 16, 2024

@TylerHelmuth , successfully passed the unit tests now with make gotest GROUP=pkg. Sorry for the iteration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[pkg/ottl] Allow indexing any slice type
3 participants