From 3326eaa71a7a5c77190875f34908b426893c5860 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Blaisot?= Date: Thu, 25 Aug 2022 18:09:46 +0200 Subject: [PATCH] Fix for ruby 3.0+ --- lib/kitchen/transport/sftp.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/kitchen/transport/sftp.rb b/lib/kitchen/transport/sftp.rb index 44b3803..6f5c07b 100644 --- a/lib/kitchen/transport/sftp.rb +++ b/lib/kitchen/transport/sftp.rb @@ -98,7 +98,7 @@ def upload(locals, remote) } recursive = File.directory?(local) time = Benchmark.realtime do - sftp_upload!(local, full_remote, options) + sftp_upload!(local, full_remote, **options) end logger.info("[SFTP] Time taken to upload #{local} to #{self}:#{full_remote}: %.2f sec" % time) end