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 2013/03/01 14:32:27 UTC

[PATCH core 7/9] FIXME: The ResourceMetadata are broken at this point

From: Michal Fojtik <mf...@redhat.com>


Signed-off-by: Michal fojtik <mf...@redhat.com>
---
 server/lib/cimi/models/schema.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/server/lib/cimi/models/schema.rb b/server/lib/cimi/models/schema.rb
index 4ce16b9..6cbf8cc 100644
--- a/server/lib/cimi/models/schema.rb
+++ b/server/lib/cimi/models/schema.rb
@@ -423,7 +423,8 @@ class CIMI::Model::Schema
   module DSL
 
     def resource_attr(name, opts={})
-      CIMI::Model::ResourceMetadata.add_resource_attribute!(self, name, opts)
+      warn "WARN: ResourceMetadata.add_resource_attribute! is broken"
+      # CIMI::Service::ResourceMetadata.add_resource_attribute!(self, name, opts)
       if opts[:type]
         send(opts[:type], name)
       else
-- 
1.8.1.2