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 Case Statement for RHEL #419

Merged
merged 1 commit into from Mar 18, 2017

Conversation

Projects
None yet
2 participants
@bdwyertech
Copy link
Contributor

commented Mar 18, 2017

When can't have any logic in it, it is purely a === operator

==> rabbitmq-1: SyntaxError
==> rabbitmq-1: -----------
==> rabbitmq-1: /var/chef/cache/cookbooks/rabbitmq/attributes/default.rb:15: syntax error, unexpected <=
==> rabbitmq-1:   when <= '6'
==> rabbitmq-1:          ^
==> rabbitmq-1: /var/chef/cache/cookbooks/rabbitmq/attributes/default.rb:17: syntax error, unexpected '>'
==> rabbitmq-1:   when > '6'
==> rabbitmq-1:         ^
==> rabbitmq-1: /var/chef/cache/cookbooks/rabbitmq/attributes/default.rb:20: syntax error, unexpected keyword_when, expecting end-of-input
==> rabbitmq-1: when 'suse'
Fix Case Statement
When can't have any logic in it, it is purely a === operator
@jjasghar

This comment has been minimized.

Copy link
Collaborator

commented Mar 18, 2017

Ah! Good catch, thanks!

@jjasghar jjasghar merged commit 8dcb7b9 into rabbitmq:master Mar 18, 2017

1 check failed

continuous-integration/travis-ci/pr The Travis CI build failed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.