Skip to content

Commit ac3fb7f

Browse files
TenStMichaelMraka
authored andcommitted
RHINENG-21445: comments cleanup
1 parent 5d5f588 commit ac3fb7f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

base/database/utils_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
)
99

1010
var (
11-
// counts of systems from system_platform JOIN inventory.hosts
11+
// counts of systems from system_platform
1212
nGroup1 int64 = 7
1313
nGroup2 int64 = 2
1414
nUngrouped int64 = 7

manager/controllers/systems_advisories_view.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ func advisoriesSystemsQuery(c *gin.Context, db *gorm.DB, acc int, groups map[str
123123
req SystemsAdvisoriesRequest) (*gorm.DB, *ListMeta, *Links, error) {
124124
systems := req.Systems
125125
advisories := req.Advisories
126-
// get all advisories for all systems in the account (with inventory.hosts join)
126+
// get all advisories for all systems in the account
127127
advq := database.SystemAdvisories(db, acc, groups, database.JoinAdvisoryMetadata).
128128
Distinct("am.id, am.name")
129129
// we need to join system_advisories to make `limit` work properly

0 commit comments

Comments
 (0)