update 'protocol not defined' wording in doctest
This commit is contained in:
parent
8b166ff509
commit
f05ecf0130
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ defmodule Elasticsearch.Index.Bulk do
|
|||
\"\"\"
|
||||
|
||||
iex> Bulk.encode!(Cluster, 123, "my-index")
|
||||
** (Protocol.UndefinedError) protocol Elasticsearch.Document not implemented for 123. This protocol is implemented for: Comment, Post
|
||||
** (Protocol.UndefinedError) protocol Elasticsearch.Document not implemented for 123 of type Integer. This protocol is implemented for the following type(s): Post, Comment
|
||||
"""
|
||||
def encode!(cluster, struct, index) do
|
||||
config = Cluster.Config.get(cluster)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue