]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: restore generated // +build comment
authorBryan C. Mills <bcmills@google.com>
Thu, 28 Oct 2021 20:23:51 +0000 (16:23 -0400)
committerBryan C. Mills <bcmills@google.com>
Thu, 28 Oct 2021 20:39:36 +0000 (20:39 +0000)
The upstream cmd/bundle tool does not yet omit it,
and the longtest builders test that the generated
file is not modified.

For #41184.

Change-Id: Ib68f532139ed1436cbaf3a756f300fe60f520cab
Reviewed-on: https://go-review.googlesource.com/c/go/+/359484
Trust: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: David Chase <drchase@google.com>
TryBot-Result: Go Bot <gobot@golang.org>

src/net/http/h2_bundle.go

index df98232824e1257fc2834045acf8dad1e5ecbab1..29226d4065e36f5481f1284160525aeec161d990 100644 (file)
@@ -1,4 +1,5 @@
 //go:build !nethttpomithttp2
+// +build !nethttpomithttp2
 
 // Code generated by golang.org/x/tools/cmd/bundle. DO NOT EDIT.
 //   $ bundle -o=h2_bundle.go -prefix=http2 -tags=!nethttpomithttp2 golang.org/x/net/http2