Fix missing comment in generated enterprise rate-limit file (#15895)
Fixes bug in #15564 where gofmt would strip out the generated code warning comment because it was on the same line as the build tag.
This commit is contained in:
parent
15c7c03fa5
commit
a36173e2b5
|
@ -23,7 +23,8 @@ import "github.com/hashicorp/consul/agent/consul/rate"
|
||||||
`
|
`
|
||||||
|
|
||||||
entTags = `//go:build consulent
|
entTags = `//go:build consulent
|
||||||
// +build consulent`
|
// +build consulent
|
||||||
|
`
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
Loading…
Reference in New Issue