From df07d08951f57768e9d98fb1a810e6d3e8135f6b Mon Sep 17 00:00:00 2001 From: Adam Ward Date: Wed, 20 Sep 2017 15:00:19 +1000 Subject: [PATCH] Fix typo in provider --- lib/puppet/provider/grafana.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/puppet/provider/grafana.rb b/lib/puppet/provider/grafana.rb index 2229f852b..0ebb0ad99 100644 --- a/lib/puppet/provider/grafana.rb +++ b/lib/puppet/provider/grafana.rb @@ -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