mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
remove Holder from API
This commit is contained in:
parent
c10cdc9d22
commit
21bfa5df77
2 changed files with 1 additions and 5 deletions
4
api.go
4
api.go
|
|
@ -150,10 +150,6 @@ func (api *API) Query(ctx context.Context, req *QueryRequest) (QueryResponse, er
|
|||
return resp, nil
|
||||
}
|
||||
|
||||
func (api *API) Holder() *Holder {
|
||||
return api.server.Holder()
|
||||
}
|
||||
|
||||
// readColumnAttrSets returns a list of column attribute objects by id.
|
||||
func (api *API) readColumnAttrSets(index *Index, ids []uint64) ([]*ColumnAttrSet, error) {
|
||||
if index == nil {
|
||||
|
|
|
|||
|
|
@ -249,7 +249,7 @@ func (g *GossipMemberSet) LocalState(join bool) []byte {
|
|||
m := &pilosa.NodeStatus{
|
||||
Node: g.papi.Node(),
|
||||
MaxShards: g.papi.MaxShards(context.Background()),
|
||||
Schema: &pilosa.Schema{Indexes: g.papi.Holder().Schema()},
|
||||
Schema: &pilosa.Schema{Indexes: g.papi.Schema(context.Background())},
|
||||
}
|
||||
|
||||
// Marshal nodestate data to bytes.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue