proto: convert enterprise meta

This commit is contained in:
Daniel Nephin 2020-10-21 17:45:09 -04:00
parent 43c5803a25
commit 44ed7910a3
3 changed files with 14 additions and 5 deletions

View File

@ -1,3 +1,5 @@
// +build !consulent
package pbservice
import (

View File

@ -0,0 +1,12 @@
// +build !consulent
package pbservice
import (
fuzz "github.com/google/gofuzz"
"github.com/hashicorp/consul/agent/structs"
)
func randEnterpriseMeta(_ *structs.EnterpriseMeta, _ fuzz.Continue) {
}

View File

@ -108,8 +108,3 @@ func randInterface(m *interface{}, c fuzz.Continue) {
}
}
}
// TODO(streaming): this is a quick fix to get the tests passing in enterprise.
// This needs to use a real random value once enterprise support is complete.
func randEnterpriseMeta(_ *structs.EnterpriseMeta, _ fuzz.Continue) {
}