Skip to content

Commit

Permalink
Merge pull request #164 from opscode/adamed-knife-207
Browse files Browse the repository at this point in the history
KNIFE-207: Also catch Fog::Errors::Error
  • Loading branch information
Adam Edwards committed Oct 31, 2013
2 parents 89d0a6e + d821b26 commit 99398f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/chef/knife/ec2_server_create.rb
Expand Up @@ -398,7 +398,7 @@ def run
begin
create_tags(hashed_tags) unless hashed_tags.empty?
associate_eip(elastic_ip) if config[:associate_eip]
rescue Fog::Compute::AWS::NotFound => e
rescue Fog::Compute::AWS::NotFound, Fog::Errors::Error => e
raise if (tries -= 1) <= 0
ui.warn("server not ready, retrying tag application (retries left: #{tries})")
sleep 5
Expand Down

0 comments on commit 99398f7

Please sign in to comment.