Skip to content

Commit 39e4c99

Browse files
XD-DENGkarmi
authored andcommitted
Fix typo in error message
Closes #89 (cherry picked from commit 9bf0926)
1 parent b0ea5c2 commit 39e4c99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elasticsearch.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ func NewClient(cfg Config) (*Client, error) {
9393
}
9494

9595
if len(cfg.Addresses) > 0 && cfg.CloudID != "" {
96-
return nil, errors.New("cannot create client: both Adresses and CloudID are set")
96+
return nil, errors.New("cannot create client: both Addresses and CloudID are set")
9797
}
9898

9999
if cfg.CloudID != "" {

0 commit comments

Comments
 (0)