Skip to content

Commit

Permalink
Update http_client.rb (#106)
Browse files Browse the repository at this point in the history
Fixes #101
  • Loading branch information
adamgoucher authored and xyq164202 committed Oct 12, 2018
1 parent 7f0331d commit 4a00802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/logstash/outputs/amazon_es/http_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ def template_exists?(name)
end

def template_put(name, template)
path = "_template/#{name}"
path = "/_template/#{name}"
logger.info("Installing amazon_es template to #{path}")
@pool.put(path, nil, LogStash::Json.dump(template))
end
Expand Down

0 comments on commit 4a00802

Please sign in to comment.