fluent-plugin-sqlquery-ssh 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fluent-plugin-sqlquery-ssh.gemspec +1 -1
- data/lib/fluent/plugin/in_sqlquery_ssh.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d91bdb4d5fed73298dc011b03d2c1ae828c2f0f
|
4
|
+
data.tar.gz: 311955cafad6936dda016e658d7c83fd2b989611
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69dccaff4b94c0c7906779ace52c92cb750551c736ba8fb5946d94f4d23165c54b00a952a172adeca36fe4bd9d5ef3b2911cfdb0a68369503d7a2546ee5c6de9
|
7
|
+
data.tar.gz: 6e72e53abfff434c9e3b5705922867cc8842cd5fb0a42a880c4f7bf12b8e2a9523a614ce899792e7029129a0462d81020a76398acadad794be710a88fed595db
|
@@ -227,7 +227,7 @@ module Fluent::Plugin
|
|
227
227
|
def get_connection
|
228
228
|
begin
|
229
229
|
$log.info "Opening ssh tunnel to #{@ssh_gateway}\n"
|
230
|
-
@ssh_gate ||= Net::SSH::Gateway.new(@ssh_gateway, @ssh_username, :verbose => :debug
|
230
|
+
@ssh_gate ||= Net::SSH::Gateway.new(@ssh_gateway, @ssh_username, :verbose => :debug, :forward_agent => true)
|
231
231
|
@ssh_port = @ssh_gate.open(@host, 3306, @ssh_local_port) || @db_port
|
232
232
|
$log.info "connecting to #{@host}\n"
|
233
233
|
return Mysql2::Client.new({
|