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(config): Correct filter transform generation via vector generate to use a comparison #22079

Merged
merged 2 commits into from
Jan 2, 2025

Conversation

abcdam
Copy link
Contributor

@abcdam abcdam commented Dec 23, 2024

Fixed typo in filter component produced by vector generate

Summary

Change Type

  • Bug fix
  • New feature
  • Non-functional (chore, refactoring, docs)
  • Performance

Is this a breaking change?

  • Yes
  • No

How did you test this PR?

Untested. I stumbled upon it while playing around with vector generate in the cli.
Can be reproduced with e.g. # vector generate /filter. If this PR doesn't follow the guidelines, feel free to delete it and push the fix.

Does this PR include user facing changes?

  • Yes. Please add a changelog fragment based on our guidelines.
  • No. A maintainer will apply the "no-changelog" label to this PR.

Checklist

  • Please read our Vector contributor resources.
  • If this PR introduces changes Vector dependencies (modifies Cargo.lock), please
    run dd-rust-license-tool write to regenerate the license inventory and commit the changes (if any). More details here.

References

@abcdam abcdam requested a review from a team as a code owner December 23, 2024 17:13
@bits-bot
Copy link

bits-bot commented Dec 23, 2024

CLA assistant check
All committers have signed the CLA.

@github-actions github-actions bot added the domain: transforms Anything related to Vector's transform components label Dec 23, 2024
@pront pront enabled auto-merge December 29, 2024 20:40
@jszwedko jszwedko changed the title fix(generator filter): Replace assignment with comparator fix(config): Correct filter transform generation via vector generate to use a comparison Jan 2, 2025
Copy link
Member

@jszwedko jszwedko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this @abcdam ! Do you mind adding a changelog entry per https://github.com/vectordotdev/vector/blob/master/changelog.d/README.md

auto-merge was automatically disabled January 2, 2025 20:09

Head branch was pushed to by a user without write access

@abcdam abcdam force-pushed the fix/generator-typo branch from fc07a86 to f021fb5 Compare January 2, 2025 20:09
@abcdam
Copy link
Contributor Author

abcdam commented Jan 2, 2025

Should be fine now @jszwedko. Also it seems like gh didn't like the rebase + squash..

@jszwedko jszwedko enabled auto-merge January 2, 2025 20:20
@jszwedko
Copy link
Member

jszwedko commented Jan 2, 2025

Thanks @abcdam !

@jszwedko jszwedko added this pull request to the merge queue Jan 2, 2025
Merged via the queue into vectordotdev:master with commit d15dc01 Jan 2, 2025
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain: transforms Anything related to Vector's transform components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants