Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
58f5f77e
Commit
58f5f77e
authored
Nov 04, 2021
by
drew cimino
Committed by
Stan Hu
Nov 05, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use key-value pairs that will be searchable in Kibana later
parent
b83f7a6b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
app/services/projects/destroy_service.rb
app/services/projects/destroy_service.rb
+6
-1
No files found.
app/services/projects/destroy_service.rb
View file @
58f5f77e
...
...
@@ -153,7 +153,12 @@ module Projects
deleted_count
=
project
.
commit_statuses
.
delete_all
if
deleted_count
>
0
Gitlab
::
AppLogger
.
info
"Projects::DestroyService - Project
#{
project
.
id
}
-
#{
deleted_count
}
leftover commit statuses"
Gitlab
::
AppLogger
.
info
(
class:
'Projects::DestroyService'
,
project_id:
project
.
id
,
message:
'leftover commit statuses'
,
orphaned_commit_status_count:
deleted_count
)
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment