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
eabeed00
Commit
eabeed00
authored
Aug 18, 2020
by
Justin Zeng
Committed by
Sean McGivern
Aug 18, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed deprecated parameters-#215900
parent
d0ed916b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ee/app/workers/vulnerability_exports/export_deletion_worker.rb
...p/workers/vulnerability_exports/export_deletion_worker.rb
+1
-1
ee/app/workers/vulnerability_exports/export_worker.rb
ee/app/workers/vulnerability_exports/export_worker.rb
+1
-1
No files found.
ee/app/workers/vulnerability_exports/export_deletion_worker.rb
View file @
eabeed00
...
...
@@ -8,7 +8,7 @@ module VulnerabilityExports
idempotent!
def
perform
(
_exportable_id
=
nil
,
vulnerability_export_id
)
# rubocop:disable Style/OptionalArguments
def
perform
(
vulnerability_export_id
)
vulnerability_export
=
Vulnerabilities
::
Export
.
find_by_id
(
vulnerability_export_id
)
vulnerability_export
&
.
destroy!
end
...
...
ee/app/workers/vulnerability_exports/export_worker.rb
View file @
eabeed00
...
...
@@ -16,7 +16,7 @@ module VulnerabilityExports
Vulnerabilities
::
Export
.
find_by_id
(
job
[
'args'
].
last
).
failed!
end
def
perform
(
_exportable_id
=
nil
,
vulnerability_export_id
)
# rubocop:disable Style/OptionalArguments
def
perform
(
vulnerability_export_id
)
vulnerability_export
=
Vulnerabilities
::
Export
.
find_by_id
(
vulnerability_export_id
)
return
unless
vulnerability_export
...
...
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