lib/nfagent/cli.rb in nfagent-0.9.30 vs lib/nfagent/cli.rb in nfagent-0.9.31
- old
+ new
@@ -2,15 +2,15 @@
class CLI
include NFAgent
include SVUtil
def initialize
- Config.init
+ Config.load_and_parse
if Config.test_mode?
Tests.run
exit 1
end
- @process = ProcessManager.new(Server)
+ @process = ProcessManager.new(Server, Config)
@process.start
end
end
end