lib/t2-server/server.rb in t2-server-0.5.3 vs lib/t2-server/server.rb in t2-server-0.6.0

- old
+ new

@@ -77,10 +77,12 @@ @http.use_ssl = true @http.verify_mode = OpenSSL::SSL::VERIFY_NONE end - @links = parse_description(get_attribute(@rest_path)) + # add a slash to the end of this address to work around this bug: + # http://www.mygrid.org.uk/dev/issues/browse/TAVSERV-113 + @links = parse_description(get_attribute("#{@rest_path}/")) #@links.each {|key, val| puts "#{key}: #{val}"} # get max runs @run_limit = get_attribute(@links[:runlimit]).to_i