Skip to content

Commit 2619934

Browse files
committed
fix lint
1 parent 292c787 commit 2619934

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
@@ -78,7 +78,7 @@ func (a *actionNotifier) NotifyNewPullRequest(pull *models.PullRequest) {
7878
}
7979
}
8080

81-
func (n *actionNotifier) NotifyRenameRepository(doer *models.User, repo *models.Repository, oldRepoName string) {
81+
func (a *actionNotifier) NotifyRenameRepository(doer *models.User, repo *models.Repository, oldRepoName string) {
8282
log.Trace("action.ChangeRepositoryName: %s/%s", doer.Name, repo.Name)
8383

8484
if err := models.NotifyWatchers(&models.Action{
@@ -94,7 +94,7 @@ func (n *actionNotifier) NotifyRenameRepository(doer *models.User, repo *models.
9494
}
9595
}
9696

97-
func (n *actionNotifier) NotifyTransferRepository(doer *models.User, repo *models.Repository, oldOwnerName string) {
97+
func (a *actionNotifier) NotifyTransferRepository(doer *models.User, repo *models.Repository, oldOwnerName string) {
9898
if err := models.NotifyWatchers(&models.Action{
9999
ActUserID: doer.ID,
100100
ActUser: doer,

0 commit comments

Comments
 (0)