Skip to content

Commit

Permalink
# Clarify VERSION as OpenSearch::VERSION
Browse files Browse the repository at this point in the history
Signed-off-by: Theo Truong <theotr@amazon.com>
  • Loading branch information
nhtruong committed Dec 11, 2024
1 parent 8536632 commit 602ccf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/opensearch/transport/transport/http/faraday.rb
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def user_agent_header(client)
meta << "#{RbConfig::CONFIG['host_os'].split('_').first[/[a-z]+/i].downcase} #{RbConfig::CONFIG['target_cpu']}"
end
meta << client.headers[USER_AGENT_STR].to_s
"opensearch-ruby/#{VERSION} (#{meta.join('; ')})"
"opensearch-ruby/#{OpenSearch::VERSION} (#{meta.join('; ')})"
end
end
end
Expand Down

0 comments on commit 602ccf9

Please sign in to comment.