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

Fixes #31639 - Fix for syntax error when rendering Global Registration Template #8251

Merged
merged 1 commit into from
Jan 15, 2021

Conversation

stejskalleos
Copy link
Contributor

@stejskalleos stejskalleos commented Jan 14, 2021

Refactoring changes from this commit 1a144f1 cause syntax error when rendering template:

bash: line 193: syntax error near unexpected token `else'
bash: line 193: `else'

2.3-stable & sat6.9 are not affected by this issue.

@theforeman-bot
Copy link
Member

Issues: #31639

@stejskalleos
Copy link
Contributor Author

@ares

Copy link
Member

@ares ares left a comment

Choose a reason for hiding this comment

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

Katello test failure unrelated. Fun, I missed this syntax error since I use zsh, where the script works just fine. However now when I tested on bash, it was quite straightforward to reproduce and verify this fixes the issue. I'm surprised we don't see the need to regenerate the template snapshot.

Anyway, thanks for a quick fix @stejskalleos, merging!

@ares ares merged commit 1f4f2f5 into theforeman:develop Jan 15, 2021
stefanlasiewski pushed a commit to stefanlasiewski/foreman that referenced this pull request Jan 20, 2021
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.

3 participants