deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject [30/50] [abbrv] git commit: Core: Remove to_s method from Instance model
Date Mon, 30 Jul 2012 14:29:17 GMT
Core: Remove to_s method from Instance model


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

Branch: refs/heads/master
Commit: 43e4c2329557232b674e68764eb220189c33f851
Parents: 55be5ef
Author: Michal Fojtik <mfojtik@redhat.com>
Authored: Wed Jul 25 15:19:47 2012 +0200
Committer: Michal fojtik <mfojtik@redhat.com>
Committed: Thu Jul 26 13:25:27 2012 +0200

----------------------------------------------------------------------
 server/lib/deltacloud/models/instance.rb |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/43e4c232/server/lib/deltacloud/models/instance.rb
----------------------------------------------------------------------
diff --git a/server/lib/deltacloud/models/instance.rb b/server/lib/deltacloud/models/instance.rb
index 421b4ef..f65b9b8 100644
--- a/server/lib/deltacloud/models/instance.rb
+++ b/server/lib/deltacloud/models/instance.rb
@@ -46,10 +46,6 @@ class Instance < BaseModel
     self.create_image
   end
 
-  def to_s
-    name
-  end
-
   def hardware_profile
     instance_profile
   end


Mime
View raw message