deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject [1/2] git commit: CIMI: Fixed typo in volumeTemplate#destroy (DTACLOUD-519)
Date Mon, 25 Mar 2013 08:45:39 GMT
Updated Branches:
  refs/heads/master d8e529341 -> 461db7ec8


CIMI: Fixed typo in volumeTemplate#destroy (DTACLOUD-519)


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

Branch: refs/heads/master
Commit: b84c006101f890ec5b44696deccb0eb7ef207e2f
Parents: d8e5293
Author: Michal Fojtik <mfojtik@redhat.com>
Authored: Fri Mar 22 13:41:51 2013 +0100
Committer: Michal fojtik <mfojtik@redhat.com>
Committed: Fri Mar 22 13:41:51 2013 +0100

----------------------------------------------------------------------
 server/lib/cimi/service/volume_template.rb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/b84c0061/server/lib/cimi/service/volume_template.rb
----------------------------------------------------------------------
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)


Mime
View raw message