Skip to content

Commit

Permalink
Fix authentication of metrics credentials in RHV
Browse files Browse the repository at this point in the history
When the database name was not the default one the RHV metrics credentials
would not use the right database name during authentication and fail.
  • Loading branch information
Boris Odnopozov committed Feb 19, 2017
1 parent 124a5fe commit f082125
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def rhevm_metrics_connect_options(options = {})
server = options[:hostname] || metrics_hostname || hostname
username = options[:user] || authentication_userid(:metrics)
password = options[:pass] || authentication_password(:metrics)
database = options[:database]
database = options[:database] || history_database_name

{
:host => server,
Expand Down
Empty file removed log/.gitkeep
Empty file.

0 comments on commit f082125

Please sign in to comment.