From e38ea54e43a835c1b07f127634b839a434fcf354 Mon Sep 17 00:00:00 2001 From: Murphylu1993 Date: Mon, 22 Jun 2020 17:06:50 +0800 Subject: [PATCH 1/2] fix typo --- lib/fluent/supervisor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fluent/supervisor.rb b/lib/fluent/supervisor.rb index 91ac54253f..c1a59227be 100644 --- a/lib/fluent/supervisor.rb +++ b/lib/fluent/supervisor.rb @@ -804,7 +804,7 @@ def reload_config Fluent::Engine.reload_config(conf) end rescue => e - # it is guranteed that config file is valid by supervisor side. but it's not atomic becuase of using signals to commnicate between worker and super + # it is guaranteed that config file is valid by supervisor side. but it's not atomic because of using signals to commnicate between worker and super # So need this rescue code $log.error("failed to reload config: #{e}") next From 931b428f7e0b1ddef27ed6e7bed8878a22fc8b53 Mon Sep 17 00:00:00 2001 From: Murphylu1993 Date: Mon, 22 Jun 2020 17:06:50 +0800 Subject: [PATCH 2/2] fix typo Signed-off-by: Murphylu1993 --- lib/fluent/supervisor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fluent/supervisor.rb b/lib/fluent/supervisor.rb index 91ac54253f..c1a59227be 100644 --- a/lib/fluent/supervisor.rb +++ b/lib/fluent/supervisor.rb @@ -804,7 +804,7 @@ def reload_config Fluent::Engine.reload_config(conf) end rescue => e - # it is guranteed that config file is valid by supervisor side. but it's not atomic becuase of using signals to commnicate between worker and super + # it is guaranteed that config file is valid by supervisor side. but it's not atomic because of using signals to commnicate between worker and super # So need this rescue code $log.error("failed to reload config: #{e}") next