From 796805c77b90f46341736f8ba9c5049e06fb33d3 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Thu, 12 Jul 2018 20:09:05 +0800 Subject: [PATCH] fix lint --- modules/notification/action/action.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/notification/action/action.go b/modules/notification/action/action.go index 209595513..c4fdc3e67 100644 --- a/modules/notification/action/action.go +++ b/modules/notification/action/action.go @@ -111,13 +111,13 @@ func (r *actionNotifier) NotifyIssueChangeLabels(doer *models.User, issue *model addedLabels []*models.Label, removedLabels []*models.Label) { } -func (w *actionNotifier) NotifyCreateRepository(doer *models.User, u *models.User, repo *models.Repository) { +func (r *actionNotifier) NotifyCreateRepository(doer *models.User, u *models.User, repo *models.Repository) { if err := models.NewRepoAction(doer, repo); err != nil { log.Error(4, "NewRepoAction [%d]: %v", repo.ID, err) } } -func (w *actionNotifier) NotifyMigrateRepository(doer *models.User, u *models.User, repo *models.Repository) { +func (r *actionNotifier) NotifyMigrateRepository(doer *models.User, u *models.User, repo *models.Repository) { if err := models.NewRepoAction(doer, repo); err != nil { log.Error(4, "NewRepoAction [%d]: %v", repo.ID, err) }