We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0ea5c2 commit 39e4c99Copy full SHA for 39e4c99
elasticsearch.go
@@ -93,7 +93,7 @@ func NewClient(cfg Config) (*Client, error) {
93
}
94
95
if len(cfg.Addresses) > 0 && cfg.CloudID != "" {
96
- return nil, errors.New("cannot create client: both Adresses and CloudID are set")
+ return nil, errors.New("cannot create client: both Addresses and CloudID are set")
97
98
99
if cfg.CloudID != "" {
0 commit comments