You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by mf...@apache.org on 2013/01/10 11:12:31 UTC

[4/4] git commit: CIMI: Fixed wrong destroy action in AddressTemplate

Updated Branches:
  refs/heads/master aea86dfa1 -> 04e3142cc


CIMI: Fixed wrong destroy action in AddressTemplate


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

Branch: refs/heads/master
Commit: e88fdc802c51d784eb3742c4f3f2a1ffa85873a0
Parents: aea86df
Author: Michal Fojtik <mf...@redhat.com>
Authored: Mon Jan 7 15:39:56 2013 +0100
Committer: Michal fojtik <mf...@redhat.com>
Committed: Thu Jan 10 11:12:12 2013 +0100

----------------------------------------------------------------------
 server/lib/cimi/collections/address_templates.rb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/e88fdc80/server/lib/cimi/collections/address_templates.rb
----------------------------------------------------------------------
diff --git a/server/lib/cimi/collections/address_templates.rb b/server/lib/cimi/collections/address_templates.rb
index 338d0f4..6e9c28f 100644
--- a/server/lib/cimi/collections/address_templates.rb
+++ b/server/lib/cimi/collections/address_templates.rb
@@ -59,9 +59,9 @@ module CIMI::Collections
       end
 
       operation :destroy do
-        description "Delete a specified machine template"
+        description "Delete a specified AddressTemplate"
         control do
-          CIMI::Model::MachineTemplate.delete!(params[:id], self)
+          CIMI::Model::AddressTemplate.delete!(params[:id], self)
           no_content_with_status(200)
         end
       end