mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
Unexport NewNopInternalClient
This commit is contained in:
parent
5f74927d03
commit
0907ee5854
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -227,7 +227,7 @@ func newCluster() *cluster {
|
|||
closing: make(chan struct{}),
|
||||
joining: make(chan struct{}),
|
||||
|
||||
InternalClient: NewNopInternalClient(),
|
||||
InternalClient: newNopInternalClient(),
|
||||
|
||||
logger: NopLogger,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue