Skip to content

Commit

Permalink
fix: correct name of span on recovery code deletion (#2823)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-jonas authored Oct 19, 2022
1 parent 53bf4d0 commit 44f775f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion persistence/sql/persister_recovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ func (p *Persister) UseRecoveryCode(ctx context.Context, fID uuid.UUID, codeVal
}

func (p *Persister) DeleteRecoveryCodesOfFlow(ctx context.Context, fID uuid.UUID) error {
ctx, span := p.r.Tracer(ctx).Tracer().Start(ctx, "persistence.sql.DeleteRecoveryToken")
ctx, span := p.r.Tracer(ctx).Tracer().Start(ctx, "persistence.sql.DeleteRecoveryCodesOfFlow")
defer span.End()

/* #nosec G201 TableName is static */
Expand Down

0 comments on commit 44f775f

Please sign in to comment.