lib/robot-controller/robots.rb in robot-controller-2.0.2 vs lib/robot-controller/robots.rb in robot-controller-2.0.3

- old
+ new

@@ -13,10 +13,10 @@ # Validate parameters robots_fn = File.join(dir, robots_fn) if dir fail "FileNotFound: #{robots_fn}" unless File.file?(robots_fn) # read the YAML file with the configuration of all the robots to run - robots = YAML.load_file(robots_fn) + robots = YAML.load_file(robots_fn) # determine current host if not provided host ||= `hostname -s`.strip # if the config lists this specific host, use it;