Don't log when a worker can't be started. (#1056)

This commit is contained in:
Robert Nishihara 2017-10-02 10:32:46 -07:00 committed by Eric Liang
parent 54aaeb25ab
commit a31d138f21

View file

@ -220,7 +220,8 @@ void start_worker(LocalSchedulerState *state,
}
/* We can't start a worker if we don't have the path to the worker script. */
if (state->config.start_worker_command == NULL) {
LOG_WARN("No valid command to start worker provided. Cannot start worker.");
LOG_DEBUG(
"No valid command to start worker provided. Cannot start worker.");
return;
}
/* Launch the process to create the worker. */