Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

call to keypair listing might have a nil cluster

  • Loading branch information...
commit 6ff6be49038a033a2a44fc7818071074bddc0bf8 1 parent fdff419
Philip (flip) Kromer authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/ironfan/provider/ec2/key_pair.rb
View
2  lib/ironfan/provider/ec2/key_pair.rb
@@ -33,7 +33,7 @@ def to_s
# Discovery
#
def self.load!(cluster=nil)
- Ironfan.substep(cluster.name, "keypairs")
+ Ironfan.substep(cluster && cluster.name, "keypairs")
Ec2.connection.key_pairs.each do |keypair|
register keypair unless keypair.blank?
Chef::Log.debug("Loaded <%-15s %s>" % [handle, keypair.name])
Please sign in to comment.
Something went wrong with that request. Please try again.