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:
Dan Upton 2023-01-05 10:31:14 +00:00 committed by GitHub
parent 15c7c03fa5
commit a36173e2b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

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