Converting empty uri path to / in aws_options #97

Open
wants to merge 2 commits into
from

Projects

None yet

1 participant

@philipppahl

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 some commits Sep 28, 2011
Philipp Pahl Converting empty uri path to / in aws_options 3cca598
Philipp Pahl In function maybe the user decision did not have an effect since the …
…value for line was set outside the appropriate scope. This is fixed now.
5ec80df
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment