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
bbd734e8
Commit
bbd734e8
authored
Sep 09, 2019
by
Can Eldem
Committed by
Michael Kozono
Sep 09, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix create isssue for container scanning from dashboard issue
Add tests for checking diffent type of array
parent
c9791d39
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
ee/changelogs/unreleased/fix-cs-create-issue-error-ee.yml
ee/changelogs/unreleased/fix-cs-create-issue-error-ee.yml
+5
-0
ee/lib/gitlab/vulnerabilities/base_vulnerability.rb
ee/lib/gitlab/vulnerabilities/base_vulnerability.rb
+1
-1
ee/spec/lib/gitlab/vulnerabilities/container_scanning_vulnerability_spec.rb
.../vulnerabilities/container_scanning_vulnerability_spec.rb
+1
-1
No files found.
ee/changelogs/unreleased/fix-cs-create-issue-error-ee.yml
0 → 100644
View file @
bbd734e8
---
title
:
Fix create issue for container scanning from security dashboard
merge_request
:
16226
author
:
type
:
fixed
ee/lib/gitlab/vulnerabilities/base_vulnerability.rb
View file @
bbd734e8
...
@@ -6,7 +6,7 @@ module Gitlab
...
@@ -6,7 +6,7 @@ module Gitlab
attr_reader
:data
attr_reader
:data
def
initialize
(
data
)
def
initialize
(
data
)
@data
=
data
@data
=
data
.
deep_symbolize_keys
end
end
# Ensure mandatory properties are defined
# Ensure mandatory properties are defined
...
...
ee/spec/lib/gitlab/vulnerabilities/container_scanning_vulnerability_spec.rb
View file @
bbd734e8
...
@@ -15,7 +15,7 @@ describe Gitlab::Vulnerabilities::ContainerScanningVulnerability do
...
@@ -15,7 +15,7 @@ describe Gitlab::Vulnerabilities::ContainerScanningVulnerability do
confidence:
'low'
,
confidence:
'low'
,
identifiers:
'42'
,
identifiers:
'42'
,
links:
'link'
links:
'link'
}
}
.
with_indifferent_access
end
end
describe
'getters'
do
describe
'getters'
do
...
...
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