Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Commit

Permalink
Fix audit logs typo (#2005)
Browse files Browse the repository at this point in the history
  • Loading branch information
sethvargo committed Apr 8, 2021
1 parent 4ebe9cb commit e74a694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/database/realm.go
Expand Up @@ -1564,7 +1564,7 @@ func (r *Realm) destroyManagedSigningKey(ctx context.Context, db *Database, id i
}

// Generate an audit
audit := BuildAuditEntry(actor, "destrited signing key", signingKey, r.ID)
audit := BuildAuditEntry(actor, "destroyed signing key", signingKey, r.ID)
if err := tx.Save(audit).Error; err != nil {
return fmt.Errorf("failed to save audits: %w", err)
}
Expand Down

0 comments on commit e74a694

Please sign in to comment.