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