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

pubsub-cli: strip whitespace when reading crashids from stdin #54

Merged
merged 2 commits into from
Nov 21, 2024

Conversation

relud
Copy link
Member

@relud relud commented Nov 20, 2024

while testing socorro dev docs, I tried cat crashids.txt | pubsub-cli publish test local-standard-topic and couldn't figure out why the crashes weren't getting processed. I eventually tracked it down to the published crashids having a trailing newline, which this fixes.

obs_common/pubsub_cli.py Outdated Show resolved Hide resolved
Co-authored-by: Sven Marnach <sven@marnach.net>
@relud relud enabled auto-merge November 21, 2024 16:36
@relud relud added this pull request to the merge queue Nov 21, 2024
Merged via the queue into main with commit ac1bb99 Nov 21, 2024
3 checks passed
@relud relud deleted the relud-fix-pubsub-stdin branch November 21, 2024 16:38
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.

2 participants