Skip to content

Commit 71afda9

Browse files
jsvdjordansissel
authored andcommitted
rename teardown to close
Fixes #16
1 parent fbc926e commit 71afda9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/logstash/outputs/file.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ def receive(event)
101101
end # def receive
102102

103103
public
104-
def teardown
105-
@logger.debug("Teardown: closing files")
104+
def close
105+
@logger.debug("Close: closing files")
106106
@files.each do |path, fd|
107107
begin
108108
fd.close

0 commit comments

Comments
 (0)