1
0
mirror of https://github.com/golang/go synced 2024-11-05 14:56:10 -07:00
go/internal/telemetry
Rob Findley 26dd2a56eb internal/telemetry/export: guard against NPE when merging tag maps
In a separate CL, I was getting a nil pointer exception looking up a tag
value in a tag map chain where one map was nil. To avoid this, check
that maps are non-nil when merging them into a chain.

Change-Id: Ie2ec4865e1ed62f91b9b146d2f2b56f48c156043
Reviewed-on: https://go-review.googlesource.com/c/tools/+/229130
Run-TryBot: Robert Findley <rfindley@google.com>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2020-04-21 14:47:19 +00:00
..
event internal/telemetry/export: guard against NPE when merging tag maps 2020-04-21 14:47:19 +00:00
export internal/telemetry: add support for using telemetry in tests 2020-04-20 21:04:52 +00:00
bench_test.go internal/telemetry: add a noop exporter benchmark 2020-03-31 00:50:42 +00:00
doc.go internal/telemetry: unify the event handling to an event package 2020-03-12 03:58:56 +00:00