remove dead code

This commit is contained in:
Marcus Efraimsson 2018-05-31 19:05:32 +02:00
parent dcac63936b
commit b8ff3b1e3f
No known key found for this signature in database
GPG Key ID: EBFE0FB04612DD4A

View File

@ -79,14 +79,6 @@ var NewClient = func(ctx context.Context, ds *models.DataSource, timeRange *tsdb
return nil, fmt.Errorf("elasticsearch version=%d is not supported", version)
}
type baseClient interface {
Client
getSettings() *simplejson.Json
executeBatchRequest(uriPath string, requests []*multiRequest) (*http.Response, error)
executeRequest(method, uriPath string, body []byte) (*http.Response, error)
createMultiSearchRequests(searchRequests []*SearchRequest) []*multiRequest
}
type baseClientImpl struct {
ctx context.Context
ds *models.DataSource