-
Notifications
You must be signed in to change notification settings - Fork 610
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the patch to hack/update-deps.sh.
- Loading branch information
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
diff --git a/vendor/go.opencensus.io/trace/trace.go b/vendor/go.opencensus.io/trace/trace.go | ||
index 38ead7bf..9e6fe483 100644 | ||
--- a/vendor/go.opencensus.io/trace/trace.go | ||
+++ b/vendor/go.opencensus.io/trace/trace.go | ||
@@ -261,6 +261,11 @@ func startSpanInternal(name string, hasParent bool, parent SpanContext, remotePa | ||
return span | ||
} | ||
|
||
+func (s *Span) SetSpanID(spanID SpanID) { | ||
+ s.data.SpanID = spanID | ||
+ s.spanContext.SpanID = spanID | ||
+} | ||
+ | ||
// End ends the span. | ||
func (s *Span) End() { | ||
if s == nil { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters