deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@redhat.com
Subject [PATCH core] CIMI: Fixed typo in volumeTemplate#destroy (DTACLOUD-519)
Date Fri, 22 Mar 2013 12:43:06 GMT
From: Michal Fojtik <mfojtik@redhat.com>


Signed-off-by: Michal fojtik <mfojtik@redhat.com>
---
 server/lib/cimi/service/volume_template.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/lib/cimi/service/volume_template.rb b/server/lib/cimi/service/volume_template.rb
index d95ba72..89d2879 100644
--- a/server/lib/cimi/service/volume_template.rb
+++ b/server/lib/cimi/service/volume_template.rb
@@ -34,7 +34,7 @@ class CIMI::Service::VolumeTemplate < CIMI::Service::Base
   end
 
   def self.delete!(id, context)
-    current_db.volume_templates.first(:id => id).destroy
+    current_db.volume_templates_dataset.first(:id => id).destroy
   end
 
   def self.from_db(model, context)
-- 
1.8.1.4


Mime
View raw message