mirror of https://github.com/status-im/consul.git
proto: convert enterprise meta
This commit is contained in:
parent
43c5803a25
commit
44ed7910a3
|
@ -1,3 +1,5 @@
|
||||||
|
// +build !consulent
|
||||||
|
|
||||||
package pbservice
|
package pbservice
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -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) {
|
||||||
|
}
|
|
@ -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) {
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue