deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject [3/3] git commit: Minor change to mock_driver cimi url conversion (.uri/.id)
Date Tue, 13 Mar 2012 14:51:37 GMT
Minor change to mock_driver cimi url conversion (.uri/.id)


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/1ef8d372
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/1ef8d372
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/1ef8d372

Branch: refs/heads/master
Commit: 1ef8d372902fbfb984a1082d107878da4953de9e
Parents: d784a6d
Author: marios <marios@redhat.com>
Authored: Mon Mar 12 19:12:11 2012 +0200
Committer: marios <marios@redhat.com>
Committed: Tue Mar 13 16:50:48 2012 +0200

----------------------------------------------------------------------
 server/lib/deltacloud/drivers/mock/mock_driver.rb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/1ef8d372/server/lib/deltacloud/drivers/mock/mock_driver.rb
----------------------------------------------------------------------
diff --git a/server/lib/deltacloud/drivers/mock/mock_driver.rb b/server/lib/deltacloud/drivers/mock/mock_driver.rb
index 86e096e..1725538 100644
--- a/server/lib/deltacloud/drivers/mock/mock_driver.rb
+++ b/server/lib/deltacloud/drivers/mock/mock_driver.rb
@@ -513,7 +513,7 @@ module Deltacloud::Drivers::Mock
 
     def convert_cimi_mock_urls(model_name, cimi_object, context)
       uri=context.send(:"#{model_name}_url", cimi_object.name)
-      cimi_object.uri=uri
+      cimi_object.id=uri
       cimi_object.operations.each{|op| op.href=uri}
       cimi_object
     end


Mime
View raw message