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

Commit

Permalink
Fix error message (#2375)
Browse files Browse the repository at this point in the history
  • Loading branch information
sethvargo authored Sep 13, 2022
1 parent 707cfe2 commit 577cc5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/database/realm.go
Original file line number Diff line number Diff line change
Expand Up @@ -1970,7 +1970,7 @@ func (db *Database) AllRealmCodeStats(ctx context.Context, requiredRealms int, e
// Find and exclude e2e test realm if it exists.
e2eTestRealm, err := db.FindE2ETestRealm()
if err != nil {
db.logger.Warnf("unable o find e2e test realms for exclusion from system stats", "error", err)
db.logger.Warnf("failed to find e2e test realms for exclusion from system stats", "error", err)
} else {
allExcludedRealmIDs = append(allExcludedRealmIDs, e2eTestRealm.ID)
}
Expand All @@ -1981,7 +1981,7 @@ func (db *Database) AllRealmCodeStats(ctx context.Context, requiredRealms int, e
SELECT
d.date AS date,
COUNT(DISTINCT(realm_id)) as realm_id,
SUM(s.codes_issued) AS codes_issued,
SUM(s.codes_issued) AS codes_issued,
SUM(s.codes_claimed) AS codes_claimed,
0 AS codes_invalid,
0 AS user_reports_issued,
Expand Down

0 comments on commit 577cc5d

Please sign in to comment.