Skip to content

Commit 26675b8

Browse files
committed
fix lint
1 parent f3a25d4 commit 26675b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/notification/action/action.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,13 @@ func (r *actionNotifier) NotifyIssueChangeLabels(doer *models.User, issue *model
111111
addedLabels []*models.Label, removedLabels []*models.Label) {
112112
}
113113

114-
func (w *actionNotifier) NotifyCreateRepository(doer *models.User, u *models.User, repo *models.Repository) {
114+
func (r *actionNotifier) NotifyCreateRepository(doer *models.User, u *models.User, repo *models.Repository) {
115115
if err := models.NewRepoAction(doer, repo); err != nil {
116116
log.Error(4, "NewRepoAction [%d]: %v", repo.ID, err)
117117
}
118118
}
119119

120-
func (w *actionNotifier) NotifyMigrateRepository(doer *models.User, u *models.User, repo *models.Repository) {
120+
func (r *actionNotifier) NotifyMigrateRepository(doer *models.User, u *models.User, repo *models.Repository) {
121121
if err := models.NewRepoAction(doer, repo); err != nil {
122122
log.Error(4, "NewRepoAction [%d]: %v", repo.ID, err)
123123
}

0 commit comments

Comments
 (0)