Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita8277a0

Browse files
committed
rename
1 parent9a5f7f1 commita8277a0

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
@@ -1145,7 +1145,7 @@ func (q *querier) GetGroupsByOrganizationID(ctx context.Context, organizationID
11451145
returnfetchWithPostFilter(q.auth,q.db.GetGroupsByOrganizationID)(ctx,organizationID)
11461146
}
11471147

1148-
func (q*querier)GetGroupsByUserId(ctx context.Context,userID uuid.UUID) ([]database.Group,error) {
1148+
func (q*querier)GetGroupsByUserID(ctx context.Context,userID uuid.UUID) ([]database.Group,error) {
11491149
panic("not implemented")
11501150
}
11511151

‎coderd/database/dbmem/dbmem.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2264,7 +2264,7 @@ func (q *FakeQuerier) GetGroupsByOrganizationID(_ context.Context, id uuid.UUID)
22642264
returngroups,nil
22652265
}
22662266

2267-
func (q*FakeQuerier)GetGroupsByUserId(ctx context.Context,userID uuid.UUID) ([]database.Group,error) {
2267+
func (q*FakeQuerier)GetGroupsByUserID(ctx context.Context,userID uuid.UUID) ([]database.Group,error) {
22682268
panic("not implemented")
22692269
}
22702270

‎coderd/database/dbmetrics/dbmetrics.go

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing 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 aboutcustomizing 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 aboutcustomizing 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 aboutcustomizing 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
iferr!=nil {
468468
returnnil,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:=rangeownerGroups {
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 aboutcustomizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp