add .Close() method to interface and all implementations.
This commit is contained in:
@@ -55,6 +55,8 @@ type ElasticsearchStorage struct {
|
||||
bi esutil.BulkIndexer
|
||||
}
|
||||
|
||||
func (ess *ElasticsearchStorage) Close() {}
|
||||
|
||||
func (ess *ElasticsearchStorage) Init() error {
|
||||
if ess.IndexName == "" {
|
||||
ess.IndexName = "events"
|
||||
|
||||
Reference in New Issue
Block a user