Unexport NewNopInternalClient

This commit is contained in:
Cody Soyland 2018-07-05 21:48:32 -05:00
parent 5f74927d03
commit 0907ee5854
2 changed files with 3 additions and 3 deletions

View file

@ -72,11 +72,11 @@ var _ InternalQueryClient = NewNopInternalQueryClient()
type NopInternalClient struct{}
func NewNopInternalClient() NopInternalClient {
func newNopInternalClient() NopInternalClient {
return NopInternalClient{}
}
var _ InternalClient = NewNopInternalClient()
var _ InternalClient = newNopInternalClient()
func (n NopInternalClient) MaxShardByIndex(context.Context) (map[string]uint64, error) {
return nil, nil

View file

@ -227,7 +227,7 @@ func newCluster() *cluster {
closing: make(chan struct{}),
joining: make(chan struct{}),
InternalClient: NewNopInternalClient(),
InternalClient: newNopInternalClient(),
logger: NopLogger,
}