Skip to content

Commit 11e16ce

Browse files
committed
rename
1 parent 87fa562 commit 11e16ce

File tree

9 files changed

+21
-21
lines changed

9 files changed

+21
-21
lines changed

coderd/database/dbauthz/dbauthz.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1141,7 +1141,7 @@ func (q *querier) GetGroupsByOrganizationID(ctx context.Context, organizationID
11411141
return fetchWithPostFilter(q.auth, q.db.GetGroupsByOrganizationID)(ctx, organizationID)
11421142
}
11431143

1144-
func (q *querier) GetGroupsByUserId(ctx context.Context, userID uuid.UUID) ([]database.Group, error) {
1144+
func (q *querier) GetGroupsByUserID(ctx context.Context, userID uuid.UUID) ([]database.Group, error) {
11451145
panic("not implemented")
11461146
}
11471147

coderd/database/dbmem/dbmem.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2254,7 +2254,7 @@ func (q *FakeQuerier) GetGroupsByOrganizationID(_ context.Context, id uuid.UUID)
22542254
return groups, nil
22552255
}
22562256

2257-
func (q *FakeQuerier) GetGroupsByUserId(ctx context.Context, userID uuid.UUID) ([]database.Group, error) {
2257+
func (q *FakeQuerier) GetGroupsByUserID(ctx context.Context, userID uuid.UUID) ([]database.Group, error) {
22582258
panic("not implemented")
22592259
}
22602260

coderd/database/dbmetrics/dbmetrics.go

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/database/dbmock/dbmock.go

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/database/querier.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/database/queries.sql.go

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/database/queries/groupmembers.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ WHERE
2323
AND
2424
users.deleted = 'false';
2525

26-
-- name: GetGroupsByUserId :many
26+
-- name: GetGroupsByUserID :many
2727
SELECT
2828
groups.*
2929
FROM

coderd/provisionerdserver/provisionerdserver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ func (s *server) acquireProtoJob(ctx context.Context, job database.ProvisionerJo
467467
if err != nil {
468468
return nil, failJob(fmt.Sprintf("get owner: %s", err))
469469
}
470-
ownerGroups, err := s.Database.GetGroupsByUserId(ctx, owner.ID)
470+
ownerGroups, err := s.Database.GetGroupsByUserID(ctx, owner.ID)
471471
ownerGroupNames := make([]string, 0, len(ownerGroups))
472472
for _, group := range ownerGroups {
473473
ownerGroupNames = append(ownerGroupNames, group.Name)

site/e2e/provisionerGenerated.ts

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)