Skip to content

Commit 86c1203

Browse files
jsvdmashhurs
authored andcommitted
oops
1 parent 6b7cd34 commit 86c1203

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/logstash/outputs/elasticsearch/http_client_builder.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def self.setup_api_key(logger, params)
191191
return {} unless (api_key && api_key.value)
192192

193193
# support key_id:key for b64(key_id:key)
194-
api_key_b64 = api_key.value.match?(/:/) ? Base64.strict_encode64(api_key.value) : api_key
194+
api_key_b64 = api_key.value.match?(/:/) ? Base64.strict_encode64(api_key.value) : api_key.value
195195

196196
{ "Authorization" => "ApiKey " + api_key_b64 }
197197
end

0 commit comments

Comments
 (0)