From 443863cc4bf4a0ccb1e15cef924d47ea241a50c3 Mon Sep 17 00:00:00 2001 From: Vladimir Garvardt Date: Sun, 14 Feb 2021 15:08:45 +0100 Subject: [PATCH] Updated OpenTelemetry to the latest available version --- README.md | 1 + go.mod | 2 +- go.sum | 4 ++-- health.go | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index bc6c9e9..a44a06a 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ * MongoDB * MySQL * gRPC + * Memcached ## Usage diff --git a/go.mod b/go.mod index bc407d6..f2dde4d 100644 --- a/go.mod +++ b/go.mod @@ -11,6 +11,6 @@ require ( github.com/streadway/amqp v1.0.0 github.com/stretchr/testify v1.6.1 go.mongodb.org/mongo-driver v1.4.1 - go.opentelemetry.io/otel v0.15.0 + go.opentelemetry.io/otel v0.16.0 google.golang.org/grpc v1.34.0 ) diff --git a/go.sum b/go.sum index 2b00fe3..28072a1 100644 --- a/go.sum +++ b/go.sum @@ -233,8 +233,8 @@ github.com/zenazn/goji v0.9.0/go.mod h1:7S9M489iMyHBNxwZnk9/EHS098H4/F6TATF2mIxt go.mongodb.org/mongo-driver v1.4.1 h1:38NSAyDPagwnFpUA/D5SFgbugUYR3NzYRNa4Qk9UxKs= go.mongodb.org/mongo-driver v1.4.1/go.mod h1:llVBH2pkj9HywK0Dtdt6lDikOjFLbceHVu/Rc0iMKLs= go.opentelemetry.io/otel v0.14.0/go.mod h1:vH5xEuwy7Rts0GNtsCW3HYQoZDY+OmBJ6t1bFGGlxgw= -go.opentelemetry.io/otel v0.15.0 h1:CZFy2lPhxd4HlhZnYK8gRyDotksO3Ip9rBweY1vVYJw= -go.opentelemetry.io/otel v0.15.0/go.mod h1:e4GKElweB8W2gWUqbghw0B8t5MCTccc9212eNHnOHwA= +go.opentelemetry.io/otel v0.16.0 h1:uIWEbdeb4vpKPGITLsRVUS44L5oDbDUCZxn8lkxhmgw= +go.opentelemetry.io/otel v0.16.0/go.mod h1:e4GKElweB8W2gWUqbghw0B8t5MCTccc9212eNHnOHwA= go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.6.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= diff --git a/health.go b/health.go index 5f388eb..9e762bb 100644 --- a/health.go +++ b/health.go @@ -114,7 +114,7 @@ func (h *Health) Register(c Config) error { defer h.mu.Unlock() if _, ok := h.checks[c.Name]; ok { - return fmt.Errorf("health check %s is already registered", c.Name) + return fmt.Errorf("health check %q is already registered", c.Name) } h.checks[c.Name] = c