Browse Source

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.
pull/15904/head
Dan Upton 2 years ago committed by GitHub
parent
commit
ee2d47da83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      internal/tools/protoc-gen-consul-rate-limit/postprocess/main.go

3
internal/tools/protoc-gen-consul-rate-limit/postprocess/main.go

@ -23,7 +23,8 @@ import "github.com/hashicorp/consul/agent/consul/rate"
`
entTags = `//go:build consulent
// +build consulent`
// +build consulent
`
)
func main() {

Loading…
Cancel
Save