]> Cypherpunks.ru repositories - gostls13.git/commit
[release-branch.go1.9] expvar: make (*Map).Init clear existing keys
authorBryan C. Mills <bcmills@google.com>
Fri, 8 Sep 2017 18:36:43 +0000 (14:36 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 25 Oct 2017 20:22:50 +0000 (20:22 +0000)
commit8c7fa95ad3420779ecffc9c72afc82bf074c6a88
tree3559a22145f1406849fe425f8c84f3f6f1ba800b
parentccd5abc10555ed39b6b8b1e5c12e5ecce734b72c
[release-branch.go1.9] expvar: make (*Map).Init clear existing keys

fixes #21619

Change-Id: I5bb513dfc8cac875b06a262eec40b5863ae23a4c
Reviewed-on: https://go-review.googlesource.com/62370
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-on: https://go-review.googlesource.com/70973
Run-TryBot: Russ Cox <rsc@golang.org>
src/expvar/expvar.go
src/expvar/expvar_test.go