This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
论坛
实训
竞赛
大数据
AI开发
Register
Sign In
wangwei
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Fix locking bug in removeOrgRepo (
#1842
)
tags/v1.21.12.1
Ethan Koenig
Lunny Xiao
8 years ago
parent
5554165a0c
commit
336e311a7c
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
models/org.go
+ 1
- 1
models/org.go
View File
@@ -552,7 +552,7 @@ func removeOrgRepo(e Engine, orgID, repoID int64) error {
teamIDs[i] = teamRepo.ID
}
_, err :=
x
.Decr("num_repos").In("id", teamIDs).Update(new(Team))
_, err :=
e
.Decr("num_repos").In("id", teamIDs).Update(new(Team))
return err
}
Write
Preview
Loading…
Cancel
Save