diff --git a/agent/consul/state/kvs_oss.go b/agent/consul/state/kvs_oss.go index 54387e0d93..598ffc39df 100644 --- a/agent/consul/state/kvs_oss.go +++ b/agent/consul/state/kvs_oss.go @@ -116,11 +116,3 @@ func kvsDeleteWithEntry(tx WriteTxn, entry *structs.DirEntry, idx uint64) error return nil } - -func partitionedIndexEntryName(entry string, _ string) string { - return entry -} - -func partitionedAndNamespacedIndexEntryName(entry string, _ *structs.EnterpriseMeta) string { - return entry -} diff --git a/agent/consul/state/schema_oss.go b/agent/consul/state/schema_oss.go new file mode 100644 index 0000000000..758d224233 --- /dev/null +++ b/agent/consul/state/schema_oss.go @@ -0,0 +1,14 @@ +//go:build !consulent +// +build !consulent + +package state + +import "github.com/hashicorp/consul/agent/structs" + +func partitionedIndexEntryName(entry string, _ string) string { + return entry +} + +func partitionedAndNamespacedIndexEntryName(entry string, _ *structs.EnterpriseMeta) string { + return entry +}