* Fix scopelint issues

* Incorporating review comments

* Keeping the order of linters alphabetical

* Fix issues after merge

Co-authored-by: mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
Agniva De Sarker
2020-03-13 08:44:39 +05:30
коммит произвёл GitHub
родитель 4ac0619c90
Коммит c8b60c2d75
7 изменённых файлов: 22 добавлений и 2 удалений

Просмотреть файл

@@ -63,6 +63,7 @@ func (s SqlPreferenceStore) Save(preferences *model.Preferences) *model.AppError
defer finalizeTransaction(transaction)
for _, preference := range *preferences {
preference := preference
if upsertErr := s.save(transaction, &preference); upsertErr != nil {
return upsertErr
}