aboutsummaryrefslogtreecommitdiffstats
path: root/models/lfs_lock.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/lfs_lock.go')
-rw-r--r--models/lfs_lock.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/models/lfs_lock.go b/models/lfs_lock.go
index 66fc2b2ec4..d12c7cb538 100644
--- a/models/lfs_lock.go
+++ b/models/lfs_lock.go
@@ -39,11 +39,11 @@ func (l *LFSLock) AfterLoad(session *xorm.Session) {
var err error
l.Owner, err = getUserByID(session, l.OwnerID)
if err != nil {
- log.Error(2, "LFS lock AfterLoad failed OwnerId[%d] not found: %v", l.OwnerID, err)
+ log.Error("LFS lock AfterLoad failed OwnerId[%d] not found: %v", l.OwnerID, err)
}
l.Repo, err = getRepositoryByID(session, l.RepoID)
if err != nil {
- log.Error(2, "LFS lock AfterLoad failed RepoId[%d] not found: %v", l.RepoID, err)
+ log.Error("LFS lock AfterLoad failed RepoId[%d] not found: %v", l.RepoID, err)
}
}