diff options
Diffstat (limited to 'models/issue_lock.go')
-rw-r--r-- | models/issue_lock.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issue_lock.go b/models/issue_lock.go index 77f9bf08ba..78b2c5cdb7 100644 --- a/models/issue_lock.go +++ b/models/issue_lock.go @@ -45,7 +45,7 @@ func updateIssueLock(opts *IssueLockOptions, lock bool) error { return err } - var opt = &CreateCommentOptions{ + opt := &CreateCommentOptions{ Doer: opts.Doer, Issue: opts.Issue, Repo: opts.Issue.Repo, |