Skip to content

Commit

Permalink
Fix compatibility with ruby 3
Browse files Browse the repository at this point in the history
  • Loading branch information
hicwic authored and seckerlein committed Oct 26, 2022
1 parent 71b08b6 commit 58e3289
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.5.7
3.1.0
2 changes: 1 addition & 1 deletion lib/fluent-plugin-syslog_rfc5424/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module FluentSyslog5424OutputPlugin
VERSION = "0.9.0.rc.8"
VERSION = "0.10.0"
end
2 changes: 1 addition & 1 deletion lib/fluent/plugin/out_syslog_rfc5424.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def find_or_create_socket(transport, host, port)
socket = find_socket(transport, host, port)
return socket if socket

@sockets[socket_key(transport, host, port)] = socket_create(transport.to_sym, host, port, socket_options)
@sockets[socket_key(transport, host, port)] = socket_create(transport.to_sym, host, port, **socket_options)
end

def socket_options
Expand Down

0 comments on commit 58e3289

Please sign in to comment.