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

Signed-off-by: Michal fojtik <mfoj...@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

Reply via email to