Skip to content

Commit

Permalink
Fix missing definition
Browse files Browse the repository at this point in the history
  • Loading branch information
olivere committed Oct 14, 2021
1 parent 68349f0 commit e037a96
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ const (
)

var (
// nilByte is used in JSON marshal/unmarshal
nilByte = []byte("null")

// ErrNoClient is raised when no Elasticsearch node is available.
ErrNoClient = errors.New("no Elasticsearch node available")

Expand Down

0 comments on commit e037a96

Please sign in to comment.