fix span reporting null check (#1442)

## Type of change

- [x] 🐛 Bugfix

## Test Plan

- [x] 💪 Manual
This commit is contained in:
Keepers 2022-11-03 18:07:22 -06:00 committed by GitHub
parent 23fa402965
commit dc8560231c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -153,7 +153,7 @@ func Span(ctx context.Context, name string, ext ...extender) (_ctx context.Conte
_fn = func() {
rgn.End()
if span != nil {
if span == nil {
return
}