All tests passed, ACK
Dne 5.4.2011 16:47, jzigmund(a)redhat.com napsal(a):
From: Jozef Zigmund<jzigmund(a)redhat.com>
---
src/app/util/condormatic.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/app/util/condormatic.rb b/src/app/util/condormatic.rb
index 6a28657..572f413 100644
--- a/src/app/util/condormatic.rb
+++ b/src/app/util/condormatic.rb
@@ -273,7 +273,7 @@ def condormatic_classads_sync
pipe.puts
"username=\"#{account.credentials_hash['username']}\""
pipe.puts
"password=\"#{account.credentials_hash['password']}\""
pipe.puts "provider_account_id=\"#{account.id}\""
- pipe.puts "keypair=\"#{account.instance_key.name}\""
+ pipe.puts "keypair=\"#{account.instance_key ?
account.instance_key.name : ''}\""
rescue Exception => ex
Rails.logger.error "Error writing provider classad to condor."
Rails.logger.error ex.message