summaryrefslogtreecommitdiff
path: root/changelogs
diff options
context:
space:
mode:
authorTiago Botelho <tiagonbotelho@hotmail.com>2018-10-22 14:18:45 +0100
committerTiago Botelho <tiagonbotelho@hotmail.com>2018-10-25 11:23:34 +0100
commitf8ee07d9ee6d01b255902ad976a07beef59a95fb (patch)
treeb72f437ffe28b36d99fe2b24713127ad27f191e3 /changelogs
parentf5d71ad8f3d1899a29bc12c4fcc8847b14195e3a (diff)
downloadgitlab-ce-f8ee07d9ee6d01b255902ad976a07beef59a95fb.tar.gz
User not defined in PostReceive#process_project_changes
When Gitlab::GitPostReceive#changes_refs is empty user would not get defined and nil would be passed to PostReceive#after_project_changes_hooks which would then throw an error.
Diffstat (limited to 'changelogs')
-rw-r--r--changelogs/unreleased/51335-fail-early-when-user-cannot-be-identified.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/51335-fail-early-when-user-cannot-be-identified.yml b/changelogs/unreleased/51335-fail-early-when-user-cannot-be-identified.yml
new file mode 100644
index 00000000000..a042debc28f
--- /dev/null
+++ b/changelogs/unreleased/51335-fail-early-when-user-cannot-be-identified.yml
@@ -0,0 +1,5 @@
+---
+title: If user was not found, service hooks won't run on post receive background job
+merge_request: 22519
+author:
+type: fixed