lib/invoker/parsers/config.rb in invoker-1.4.1 vs lib/invoker/parsers/config.rb in invoker-1.5.1

- old
+ new

@@ -14,11 +14,10 @@ # fired it increments the value of port by 1, subsequently when pick_port # again gets fired, for another command, it will again increment port # value by 1, that way generating different ports for different commands. def initialize(filename, port) @filename = filename || autodetect_config_file - print_message_and_abort if invalid_config_file? @port = port - 1 @processes = load_config if Invoker.can_run_balancer? @@ -34,9 +33,13 @@ power_config && power_config.dns_port end def https_port power_config && power_config.https_port + end + + def tld + power_config && power_config.tld end def autorunnable_processes processes.reject(&:disable_autorun) end