Skip to content

Commit 03e4b78

Browse files
committed
rename
1 parent 9c5a36b commit 03e4b78

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/doctor/fix8312.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
"xorm.io/builder"
1616
)
1717

18-
func fixIncorrectCreateOrgRepoPermission(ctx context.Context, logger log.Logger, autofix bool) error {
18+
func fixOwnerTeamCreateOrgRepo(ctx context.Context, logger log.Logger, autofix bool) error {
1919
count := 0
2020

2121
err := db.Iterate(
@@ -53,9 +53,9 @@ func fixIncorrectCreateOrgRepoPermission(ctx context.Context, logger log.Logger,
5353
func init() {
5454
Register(&Check{
5555
Title: "Check for incorrect can_create_org_repo for org owner teams",
56-
Name: "fix-owner-team-create-org",
56+
Name: "fix-owner-team-create-org-repo",
5757
IsDefault: false,
58-
Run: fixIncorrectCreateOrgRepoPermission,
58+
Run: fixOwnerTeamCreateOrgRepo,
5959
Priority: 7,
6060
})
6161
}

0 commit comments

Comments
 (0)