Skip to content
Snippets Groups Projects

Initial implementation of an elasticsearch indexer in Go

Merged Nick Thomas requested to merge 1-initial-implementation into master
All threads resolved!
1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
+ 3
3
@@ -29,9 +29,9 @@ func (c *Client) Flush() error {
func NewClient(config *Config) (*Client, error) {
opts := []elastic.ClientOptionFunc{
elastic.SetURL(config.URL...),
elastic.SetSniff(false), // For now. Move back to AWS-only later
}
elastic.SetURL(config.URL...),
elastic.SetSniff(false), // For now. Move back to AWS-only later
}
// Sniffer should look for HTTPS URLs if at-least-one initial URL is HTTPS
for _, url := range config.URL {
Loading