You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by mf...@redhat.com on 2011/11/29 14:45:00 UTC
[PATCH core 08/10] CIMI: Fixed typo in retrieving single Image in CIMI
From: Michal Fojtik <mf...@redhat.com>
Signed-off-by: Michal fojtik <mf...@redhat.com>
---
server/lib/cimi/model/machine_image.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/server/lib/cimi/model/machine_image.rb b/server/lib/cimi/model/machine_image.rb
index 779e21c..97766f0 100644
--- a/server/lib/cimi/model/machine_image.rb
+++ b/server/lib/cimi/model/machine_image.rb
@@ -28,7 +28,7 @@ class CIMI::Model::MachineImage < CIMI::Model::Base
images = _self.driver.images(_self.credentials)
images.map { |image| from_image(image, _self) }
else
- image = _self.driver.image(_self.credentials, id)
+ image = _self.driver.image(_self.credentials, :id => id)
from_image(image, _self)
end
end
--
1.7.4.4