Browse Source

proto: convert enterprise meta

pull/9073/head
Daniel Nephin 4 years ago
parent
commit
44ed7910a3
  1. 2
      proto/pbservice/convert_oss.go
  2. 12
      proto/pbservice/convert_oss_test.go
  3. 5
      proto/pbservice/convert_test.go

2
proto/pbservice/convert_oss.go

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

12
proto/pbservice/convert_oss_test.go

@ -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) {
}

5
proto/pbservice/convert_test.go

@ -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…
Cancel
Save