Skip to content

Commit

Permalink
Fix typo in provider
Browse files Browse the repository at this point in the history
  • Loading branch information
atward committed Sep 20, 2017
1 parent 5103cbd commit df07d08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet/provider/grafana.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def send_request(operation = 'GET', path = '', data = nil, search_path = {})
end

request.content_type = 'application/json'
if resource[:grafana_user] && resource[:grafana_user]
if resource[:grafana_user] && resource[:grafana_password]
request.basic_auth resource[:grafana_user], resource[:grafana_password]
end

Expand Down

0 comments on commit df07d08

Please sign in to comment.