Skip to content

Commit 6877211

Browse files
authored
out_mongo: fix NoMethodError during gracefulReload (#205)
Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
1 parent f859b49 commit 6877211

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/fluent/plugin/out_mongo.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def start
186186
end
187187

188188
def shutdown
189-
@client.close
189+
@client&.close
190190
super
191191
end
192192

0 commit comments

Comments
 (0)