Clean up additional references to launcher

Seems we missed these in our previous commit.

Change-Id: I630d02e45f0a17cd6f5886fcf9a971a8264ebf10
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
changes/73/446073/2
Paul Belanger 6 years ago
parent 174a8274d0
commit 9cd1286da3
  1. 6
      zuul/cmd/executor.py
  2. 2
      zuul/cmd/scheduler.py

@ -79,9 +79,9 @@ class Executor(zuul.cmd.ZuulApp):
self.log = logging.getLogger("zuul.Executor")
LaunchServer = zuul.executor.server.LaunchServer
self.executor = LaunchServer(self.config, self.connections,
keep_jobdir=self.args.keep_jobdir)
ExecutorServer = zuul.executor.server.ExecutorServer
self.executor = ExecutorServer(self.config, self.connections,
keep_jobdir=self.args.keep_jobdir)
self.executor.start()
signal.signal(signal.SIGUSR2, zuul.cmd.stack_dump_handler)

@ -141,7 +141,7 @@ class Scheduler(zuul.cmd.ZuulApp):
self.sched = zuul.scheduler.Scheduler(self.config)
gearman = zuul.executor.client.LaunchClient(self.config, self.sched)
gearman = zuul.executor.client.ExecutorClient(self.config, self.sched)
merger = zuul.merger.client.MergeClient(self.config, self.sched)
nodepool = zuul.nodepool.Nodepool(self.sched)

Loading…
Cancel
Save