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

Fixed launch_instance call if block_device_mappings is nil #85

Closed
wants to merge 1 commit into from
Closed

Fixed launch_instance call if block_device_mappings is nil #85

wants to merge 1 commit into from

Conversation

mfojtik
Copy link
Contributor

@mfojtik mfojtik commented May 9, 2011

This patch will fix launch_instance call when block_device_mappings is nil. Sorry for this typo.

-- Michal

@mfojtik
Copy link
Contributor Author

mfojtik commented May 9, 2011

Without this fix it throws:

E, [2011-05-09T12:48:11.182849 #47150] ERROR -- : Request was:  -none-
E, [2011-05-09T12:48:11.183013 #47150] ERROR -- : Response was: -none-
undefined method `blank?' for nil:NilClass:
/opt/local/lib/ruby/gems/1.8/gems/aws-2.5.1/lib/ec2/ec2.rb:562:in `launch_instances'

@mfojtik
Copy link
Contributor Author

mfojtik commented May 9, 2011

Thanks! I didn't know that there is a .blank? method in Utils. Replaced the and/or one with this.

@mfojtik mfojtik closed this May 9, 2011
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.

1 participant