lib/toaster/model/automation.rb in cloud-toaster-1.1.2 vs lib/toaster/model/automation.rb in cloud-toaster-1.1.3
- old
+ new
@@ -1,11 +1,9 @@
#
# Author: Waldemar Hummer (hummer@dsg.tuwien.ac.at)
#
-#require "toaster/model/automation_run"
-#require "toaster/model/task"
require 'active_record'
require "toaster/markup/markup_util"
require "toaster/chef/chef_util"
require "toaster/model/automation_run"
require "toaster/model/automation_attribute"
@@ -84,9 +82,10 @@
val = attribs[attr_name]
return [attr_name,val] if val
return nil
end
+ # TODO: fix/revise
def get_seen_attribute_values()
map = {}
attribute_names = self.class.get_attribute_array_names(automation_attributes,"")
runs = automation_runs()
runs.each do |run|