17 lines
335 B
Go
17 lines
335 B
Go
//go:build !consulent
|
|
// +build !consulent
|
|
|
|
package state
|
|
|
|
import (
|
|
"github.com/hashicorp/go-memdb"
|
|
|
|
"github.com/hashicorp/consul/agent/structs"
|
|
)
|
|
|
|
func getCompoundWithTxn(tx ReadTxn, table, index string,
|
|
_ *structs.EnterpriseMeta, idxVals ...interface{}) (memdb.ResultIterator, error) {
|
|
|
|
return tx.Get(table, index, idxVals...)
|
|
}
|