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

Converting empty uri path to / in aws_options #97

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

philipppahl
Copy link

Hello,

I added an expression in ec2.rb in aws_opions to avoid an empty string as option[:path].
E. g. EC2_URL=https://ec2.us-east-1.amazonaws.com (without the appended /) would result in "" for the :path. Now options[:path] path would return the standard value '/'. This prevents poolparty from crashing in case you forget the '/' at the end of EC2_URL.

Regards,
Philipp

Philipp Pahl added 2 commits September 28, 2011 10:14
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.

None yet

1 participant