refactor: rename the store-side WindowAggregateReader interface to WindowAggregateStore (#17880)

pull/17885/head
Yiqun (Ethan) Zhang 2020-04-28 13:44:46 -05:00 committed by GitHub
parent 0d48f4c09a
commit a7e3679aaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -83,11 +83,11 @@ type Store interface {
GetSource(orgID, bucketID uint64) proto.Message
}
// WindowAggregateCapability describes what is supported by WindowAggregateReader.
// WindowAggregateCapability describes what is supported by WindowAggregateStore.
type WindowAggregateCapability struct{}
// WindowAggregateReader implements the WindowAggregate capability.
type WindowAggregateReader interface {
// WindowAggregateStore implements the WindowAggregate capability.
type WindowAggregateStore interface {
// HasWindowAggregateCapability checks if this Store supports the capability.
// If WindowAggregateCapability is passed to the method, then the struct
// is filled with a detailed list of what the RPC call supports.

View File

@ -6,11 +6,11 @@ import (
"testing"
"github.com/go-chi/chi"
"github.com/influxdata/influxdb/v2"
ihttp "github.com/influxdata/influxdb/v2/http"
"github.com/influxdata/influxdb/v2/kv"
"github.com/influxdata/influxdb/v2/tenant"
itesting "github.com/influxdata/influxdb/v2/testing"
"github.com/influxdata/influxdb/v2"
"go.uber.org/zap/zaptest"
)