From: David Lutterkort <[email protected]>

We need a more specific indication for when a HWP can be changed and altered
---
 server/lib/deltacloud/hardware_profile.rb      |   13 -------------
 server/views/hardware_profiles/index.html.haml |    4 ----
 server/views/hardware_profiles/show.html.haml  |    5 -----
 3 files changed, 0 insertions(+), 22 deletions(-)

diff --git a/server/lib/deltacloud/hardware_profile.rb 
b/server/lib/deltacloud/hardware_profile.rb
index c9dc35f..613a9d5 100644
--- a/server/lib/deltacloud/hardware_profile.rb
+++ b/server/lib/deltacloud/hardware_profile.rb
@@ -49,22 +49,9 @@ module Deltacloud
     def initialize(name,&block)
       @properties   = {}
       @name         = name
-      @mutable      = false
       instance_eval &block if block_given?
     end
 
-    def mutable
-      @mutable = true
-    end
-
-    def immutable
-      @mutable = false
-    end
-
-    def mutable?
-      @mutable
-    end
-
     def each_property(&block)
       @properties.each_value { |prop| yield prop }
     end
diff --git a/server/views/hardware_profiles/index.html.haml 
b/server/views/hardware_profiles/index.html.haml
index 26d5985..9d9794d 100644
--- a/server/views/hardware_profiles/index.html.haml
+++ b/server/views/hardware_profiles/index.html.haml
@@ -12,8 +12,6 @@
         Memory
       %th
         Storage
-      %th
-        Mutable
   %tbody
     - for profile in @profiles
       %tr
@@ -25,5 +23,3 @@
           = format_hardware_property profile.memory
         %td
           = format_hardware_property profile.storage
-        %td
-          = profile.mutable?
diff --git a/server/views/hardware_profiles/show.html.haml 
b/server/views/hardware_profiles/show.html.haml
index f16d199..80fdd02 100644
--- a/server/views/hardware_profiles/show.html.haml
+++ b/server/views/hardware_profiles/show.html.haml
@@ -17,8 +17,3 @@
       Storage
     %dd
       = format_hardware_property @profile.storage
-  %di
-    %dt
-      Mutable
-    %dd
-      = @profile.mutable?
-- 
1.6.6.1

_______________________________________________
deltacloud-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/deltacloud-devel

Reply via email to