deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lut...@apache.org
Subject [4/4] git commit: CIMI: Don't set the 'name' attribute from Collection
Date Tue, 18 Dec 2012 23:02:36 GMT
CIMI: Don't set the 'name' attribute from Collection

This attribute is not defined in Collection schema,
however we set that to 'default' ;-)

Signed-off-by: Michal fojtik <mfojtik@redhat.com>
TrackedAt: http://tracker.deltacloud.org/patch/a4afbe0a2d4e579a99c926a68247481dbad5ea8e


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

Branch: refs/heads/master
Commit: 93690c1059b65326436137efe9cbba91c5312a1d
Parents: 8af4838
Author: Michal Fojtik <mfojtik@redhat.com>
Authored: Fri Dec 14 11:18:25 2012 +0100
Committer: David Lutterkort <lutter@redhat.com>
Committed: Tue Dec 18 14:57:34 2012 -0800

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


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/93690c10/server/lib/cimi/models/collection.rb
----------------------------------------------------------------------
diff --git a/server/lib/cimi/models/collection.rb b/server/lib/cimi/models/collection.rb
index 0fc5eec..0587264 100644
--- a/server/lib/cimi/models/collection.rb
+++ b/server/lib/cimi/models/collection.rb
@@ -125,7 +125,7 @@ module CIMI::Model
           url = context.send(cimi_create)
           ops << { :rel => "add", :href => url }
         end
-        collection_class.new(:id => id, :name => 'default',
+        collection_class.new(:id => id,
                              :count => entries.size,
                              :entries => entries,
                              :operations => ops,


Mime
View raw message