open-consul/agent/consul/state/operations_oss.go

17 lines
335 B
Go
Raw Normal View History

//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...)
}