summaryrefslogtreecommitdiff
path: root/vendor/github.com/Microsoft/hcsshim/internal/wclayer/nametoguid.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-04-12 11:57:44 -0700
committerGitHub <noreply@github.com>2021-04-12 11:57:44 -0700
commita6fb11e34ccc13e9cfd6ec37030c0634d1bee830 (patch)
treebb39ecb86553bc1e0ee8a83b20e6cb48da93dab3 /vendor/github.com/Microsoft/hcsshim/internal/wclayer/nametoguid.go
parentd40c3076ac664b2510f4097d1ece7bca50ca3f83 (diff)
parent986cd2a6a4b3e9f6ac54f96237bc1c9d1cea497b (diff)
downloadpodman-a6fb11e34ccc13e9cfd6ec37030c0634d1bee830.tar.gz
podman-a6fb11e34ccc13e9cfd6ec37030c0634d1bee830.tar.bz2
podman-a6fb11e34ccc13e9cfd6ec37030c0634d1bee830.zip
Merge pull request #9998 from rhatdan/VENDOR
vendor in containers/storage v1.29.0
Diffstat (limited to 'vendor/github.com/Microsoft/hcsshim/internal/wclayer/nametoguid.go')
-rw-r--r--vendor/github.com/Microsoft/hcsshim/internal/wclayer/nametoguid.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/Microsoft/hcsshim/internal/wclayer/nametoguid.go b/vendor/github.com/Microsoft/hcsshim/internal/wclayer/nametoguid.go
index b732857b3..bcf39c6b8 100644
--- a/vendor/github.com/Microsoft/hcsshim/internal/wclayer/nametoguid.go
+++ b/vendor/github.com/Microsoft/hcsshim/internal/wclayer/nametoguid.go
@@ -14,7 +14,7 @@ import (
// across all clients.
func NameToGuid(ctx context.Context, name string) (_ guid.GUID, err error) {
title := "hcsshim::NameToGuid"
- ctx, span := trace.StartSpan(ctx, title)
+ ctx, span := trace.StartSpan(ctx, title) //nolint:ineffassign,staticcheck
defer span.End()
defer func() { oc.SetSpanStatus(span, err) }()
span.AddAttributes(trace.StringAttribute("name", name))