Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo #2714

Merged
merged 1 commit into from
Dec 4, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions lib/fluent/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ def run_configure(conf, dry_run: false)
def configure(conf)
@root_agent.configure(conf)

@fleunt_log_event_router = FluentLogEventRouter.build(@root_agent)
@fluent_log_event_router = FluentLogEventRouter.build(@root_agent)

if @fleunt_log_event_router.emittable?
if @fluent_log_event_router.emittable?
$log.enable_event(true)
end

Expand Down Expand Up @@ -145,7 +145,7 @@ def run
$log.info "starting fluentd worker", pid: Process.pid, ppid: Process.ppid, worker: worker_id
start

@fleunt_log_event_router.start
@fluent_log_event_router.start

$log.info "fluentd worker is now running", worker: worker_id
sleep MAINLOOP_SLEEP_INTERVAL until @engine_stopped
Expand All @@ -159,12 +159,12 @@ def run

unless @log_event_verbose
$log.enable_event(false)
@fleunt_log_event_router.graceful_stop
@fluent_log_event_router.graceful_stop
end
$log.info "shutting down fluentd worker", worker: worker_id
shutdown

@fleunt_log_event_router.stop
@fluent_log_event_router.stop
end

def stop
Expand All @@ -173,7 +173,7 @@ def stop
end

def push_log_event(tag, time, record)
@fleunt_log_event_router.emit_event([tag, time, record])
@fluent_log_event_router.emit_event([tag, time, record])
end

def worker_id
Expand Down