Skip to content

Commit

Permalink
gopls pls...
Browse files Browse the repository at this point in the history
  • Loading branch information
refs committed Mar 9, 2020
1 parent 855a3e0 commit 990bd70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion middleware/tracing.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package middleware

import (
"context"
"net/http"

"go.opencensus.io/plugin/ochttp/propagation/tracecontext"
Expand All @@ -10,7 +11,7 @@ import (
// Trace unpacks the request context looking for an existing trace id.
func Trace(next http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
ctx := r.Context()
var ctx context.Context
var span *trace.Span

tc := tracecontext.HTTPFormat{}
Expand Down

0 comments on commit 990bd70

Please sign in to comment.