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

Parse rails runner region output correctly #80

Closed
wants to merge 1 commit into from

Conversation

carbonin
Copy link
Member

Fixes #79

@carbonin carbonin added the bug label Jan 21, 2019
@miq-bot
Copy link
Member

miq-bot commented Jan 21, 2019

Checked commit carbonin@a756397 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
2 files checked, 0 offenses detected
Everything looks fine. 🏆

@Fryguy
Copy link
Member

Fryguy commented Jan 21, 2019

I'm concerned the real problem is that this new line appeared and that it can cause more problems aside from this one...as such this feels like a bandaid fix, and I'd like to discuss that line.

@carbonin
Copy link
Member Author

Yeah, I agree. I'm questioning the utility of adding that line to everything output by a rails runner command.

carbonin added a commit to carbonin/manageiq that referenced this pull request Feb 11, 2019
This is breaking production scripts that parse the output
of `rails runner`. The codename is nice, but because there
is not a reliable way to determine if we're using the server
or runner, gating this on the env seems like the best option

Alternative to ManageIQ/manageiq-appliance_console#80
Fixes ManageIQ/manageiq-appliance_console#79
@Fryguy
Copy link
Member

Fryguy commented Mar 18, 2019

I'd rather go the other route and fix the output.

@Fryguy Fryguy closed this Mar 18, 2019
@carbonin carbonin deleted the fetch_region_correctly branch May 14, 2019 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants