commit | e05cf0c5697505e66db1c1d835404515692f38ae | [log] [tgz] |
---|---|---|
author | David K. Bainbridge <dbainbri@ciena.com> | Thu Aug 19 03:16:50 2021 +0000 |
committer | khenaidoo <knursimu@ciena.com> | Tue Oct 05 13:56:30 2021 -0400 |
tree | a73ca94c98900416fc5f8ff66ce4544795d61dc9 | |
parent | e20dc1bfc9ca482917f50068ef71955129b982fa [diff] [blame] |
[VOL-4291] OfAgent changes for gRPC migration Change-Id: I8da1db6df49d478ef24ec8f9bd719e9692f48a7f
diff --git a/vendor/github.com/grpc-ecosystem/go-grpc-middleware/tags/context.go b/vendor/github.com/grpc-ecosystem/go-grpc-middleware/tags/context.go index 583025c..0da1658 100644 --- a/vendor/github.com/grpc-ecosystem/go-grpc-middleware/tags/context.go +++ b/vendor/github.com/grpc-ecosystem/go-grpc-middleware/tags/context.go
@@ -69,10 +69,10 @@ return t } -func setInContext(ctx context.Context, tags Tags) context.Context { +func SetInContext(ctx context.Context, tags Tags) context.Context { return context.WithValue(ctx, ctxMarkerKey, tags) } -func newTags() Tags { +func NewTags() Tags { return &mapTags{values: make(map[string]interface{})} }