mozilla-services / obs-common

code shared between obs-team repositories
Mozilla Public License 2.0
0 stars 0 forks source link

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

Closed relud closed 1 day ago

relud commented 2 days ago

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.