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

Commit 577cc5d

Browse files
authored
Fix error message (#2375)
1 parent 707cfe2 commit 577cc5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/database/realm.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1970,7 +1970,7 @@ func (db *Database) AllRealmCodeStats(ctx context.Context, requiredRealms int, e
19701970
// Find and exclude e2e test realm if it exists.
19711971
e2eTestRealm, err := db.FindE2ETestRealm()
19721972
if err != nil {
1973-
db.logger.Warnf("unable o find e2e test realms for exclusion from system stats", "error", err)
1973+
db.logger.Warnf("failed to find e2e test realms for exclusion from system stats", "error", err)
19741974
} else {
19751975
allExcludedRealmIDs = append(allExcludedRealmIDs, e2eTestRealm.ID)
19761976
}
@@ -1981,7 +1981,7 @@ func (db *Database) AllRealmCodeStats(ctx context.Context, requiredRealms int, e
19811981
SELECT
19821982
d.date AS date,
19831983
COUNT(DISTINCT(realm_id)) as realm_id,
1984-
SUM(s.codes_issued) AS codes_issued,
1984+
SUM(s.codes_issued) AS codes_issued,
19851985
SUM(s.codes_claimed) AS codes_claimed,
19861986
0 AS codes_invalid,
19871987
0 AS user_reports_issued,

0 commit comments

Comments
 (0)