1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-02-03 13:11:53 +02:00

Update internal/metric/async.go

Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
This commit is contained in:
Tyler Yahn 2020-06-02 13:40:20 -07:00 committed by GitHub
parent 50f0f85c79
commit 5fa286d44d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,8 +41,8 @@ type AsyncCollector interface {
type AsyncInstrumentState struct {
lock sync.Mutex
// errorOnce will use the global.Handler to report an error once of an
// invalid runner being attempted to run.
// errorOnce will use the global.Handler to report an error
// once in case of an invalid runner attempting to run.
errorOnce sync.Once
// runnerMap keeps the set of runners that will run each