Skip to content

Commit 44f775f

Browse files
authored
fix: correct name of span on recovery code deletion (#2823)
1 parent 53bf4d0 commit 44f775f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

persistence/sql/persister_recovery.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ func (p *Persister) UseRecoveryCode(ctx context.Context, fID uuid.UUID, codeVal
268268
}
269269

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

274274
/* #nosec G201 TableName is static */

0 commit comments

Comments
 (0)