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
6a880b3c
Commit
6a880b3c
authored
Mar 15, 2022
by
Pedro Pombeiro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Address MR review comments
parent
fada2c23
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
ee/app/services/audit_events/runner_audit_event_service.rb
ee/app/services/audit_events/runner_audit_event_service.rb
+5
-1
No files found.
ee/app/services/audit_events/runner_audit_event_service.rb
View file @
6a880b3c
...
...
@@ -24,7 +24,7 @@ module AuditEvents
details
.
merge!
(
entity_id:
@token_scope
.
id
,
entity_type:
@token_scope
.
class
.
name
)
if
@token_scope
safe_author
=
safe_author
(
author
)
details
[
token_field
]
=
safe_author
if
safe_author
!=
author
details
[
token_field
]
=
safe_author
if
safe_author
.
is_a?
(
String
)
details
[
:errors
]
=
@runner
.
errors
.
full_messages
unless
@runner
.
errors
.
empty?
...
...
@@ -40,6 +40,10 @@ module AuditEvents
private
def
token_field
raise
NotImplementedError
,
"Please implement
#{
self
.
class
}
#
#{
__method__
}
"
end
def
message
raise
NotImplementedError
,
"Please implement
#{
self
.
class
}
#
#{
__method__
}
"
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