deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject git commit: Core: Fixed typo in image model (storage_type/root_type)
Date Tue, 29 Jan 2013 09:15:37 GMT
Updated Branches:
  refs/heads/master 4bbc4e6aa -> f9dee32e2


Core: Fixed typo in image model (storage_type/root_type)


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

Branch: refs/heads/master
Commit: f9dee32e271b53ae56b0941e95f16a629ae1397c
Parents: 4bbc4e6
Author: Michal Fojtik <mfojtik@redhat.com>
Authored: Tue Jan 29 10:15:09 2013 +0100
Committer: Michal fojtik <mfojtik@redhat.com>
Committed: Tue Jan 29 10:15:09 2013 +0100

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


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/f9dee32e/server/lib/deltacloud/models/image.rb
----------------------------------------------------------------------
diff --git a/server/lib/deltacloud/models/image.rb b/server/lib/deltacloud/models/image.rb
index 6359661..c3dc1a8 100644
--- a/server/lib/deltacloud/models/image.rb
+++ b/server/lib/deltacloud/models/image.rb
@@ -39,7 +39,7 @@ class Image < BaseModel
       :owner => owner_id,
       :architecture => architecture,
       :state => state,
-      :root_type => storage_type,
+      :root_type => root_type,
       :creation_time => creation_time,
       :hardware_profiles => hardware_profiles.map { |p|
         { :id => p.id, :href => context.hardware_profile_url(p.id), :rel => :hardware_profile
}


Mime
View raw message