proto: convert enterprise meta

This commit is contained in:
Daniel Nephin 2020-10-21 17:45:09 -04:00
parent 2d0030da39
commit e023626986
3 changed files with 14 additions and 5 deletions

View File

@ -1,3 +1,5 @@
// +build !consulent
package pbservice package pbservice
import ( 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) {
}