bin/metrics-es-node.rb in sensu-plugins-elasticsearch-1.2.0 vs bin/metrics-es-node.rb in sensu-plugins-elasticsearch-1.3.0

- old
+ new

@@ -77,10 +77,10 @@ end def get_es_resource(resource) headers = {} if config[:user] && config[:password] - auth = 'Basic ' + Base64.encode64("#{config[:user]}:#{config[:password]}").chomp + auth = 'Basic ' + Base64.strict_encode64("#{config[:user]}:#{config[:password]}").chomp headers = { 'Authorization' => auth } end protocol = if config[:https] 'https'