Skip to content

Commit 6b8c784

Browse files
committed
fix(lint): name the UserEventRetentionDays doc comment after its const
staticcheck ST1022: the comment led with "UserEventRetention", dropping the Days suffix, so it didn't match the identifier it documents.
1 parent b4b9aa4 commit 6b8c784

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/model/events.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,6 @@ func ValidUserEvent(k string) bool {
9191
return false
9292
}
9393

94-
// UserEventRetention is how long audit rows are kept before the retention sweep
94+
// UserEventRetentionDays is how long audit rows are kept before the retention sweep
9595
// drops them.
9696
const UserEventRetentionDays = 90

0 commit comments

Comments
 (0)