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 2012/07/26 13:29:32 UTC

[PATCH core 3/9] Core: Remove to_s method from Instance model

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


Signed-off-by: Michal fojtik <mf...@redhat.com>
---
 server/lib/deltacloud/models/instance.rb |    4 ----
 1 file changed, 4 deletions(-)

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
-- 
1.7.10.2