Skip to content

Commit

Permalink
Merge pull request #50 from alexfilatov/master
Browse files Browse the repository at this point in the history
small typo fix: bang the spec
  • Loading branch information
danielberkompas committed Oct 26, 2018
2 parents bf8673b + 3a43ddd commit 5c7c2dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/elasticsearch.ex
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ defmodule Elasticsearch do
"result" => "created"
}
"""
@spec put_document(Cluster.t(), Document.t(), index_name) :: map | no_return
@spec put_document!(Cluster.t(), Document.t(), index_name) :: map | no_return
def put_document!(cluster, document, index) do
put!(cluster, document_url(document, index), Document.encode(document))
end
Expand Down

0 comments on commit 5c7c2dd

Please sign in to comment.