Skip to content

Commit 09463d1

Browse files
guillep2klafriks
authored andcommitted
Fix repo_index_status lingering when deleting a repository (#7734)
1 parent 6c0c5c5 commit 09463d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

models/repo.go

+1
Original file line numberDiff line numberDiff line change
@@ -1800,6 +1800,7 @@ func DeleteRepository(doer *User, uid, repoID int64) error {
18001800
&HookTask{RepoID: repoID},
18011801
&Notification{RepoID: repoID},
18021802
&CommitStatus{RepoID: repoID},
1803+
&RepoIndexerStatus{RepoID: repoID},
18031804
); err != nil {
18041805
return fmt.Errorf("deleteBeans: %v", err)
18051806
}

0 commit comments

Comments
 (0)