This certainly isn't the correct long-term place to do this, but we don't want to spend a lot of time doing throw-away code. Enter it in here, and we will have to revisit this when we have a real key management architecture.
Signed-off-by: Chris Lalancette clalance@redhat.com --- src/dbomatic/dbomatic | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/dbomatic/dbomatic b/src/dbomatic/dbomatic index d52f655..8a3e968 100755 --- a/src/dbomatic/dbomatic +++ b/src/dbomatic/dbomatic @@ -210,6 +210,12 @@ class CondorEventLog < Nokogiri::XML::SAX::Document end
inst.cloud_account_id = cloud_account.id + + # FIXME: we are updating the instance_key_id here, but this is really not + # the right way or place to do this. This will have to be revisited when + # we come up with a real key management architecture + inst.instance_key_id = cloud_account.instance_key.id + inst.save! end
On Mon, 2010-10-18 at 17:14 -0400, Chris Lalancette wrote:
This certainly isn't the correct long-term place to do this, but we don't want to spend a lot of time doing throw-away code. Enter it in here, and we will have to revisit this when we have a real key management architecture.
ACK
deltacloud-devel@lists.fedorahosted.org