Commit b60a2789 authored by Michael Kozono's avatar Michael Kozono

Merge branch 'fix-cs-create-issue-error-ee' into 'master'

Fix create isssue for container scanning from dashboard issue

Closes #13676

See merge request gitlab-org/gitlab-ee!16226
parents c9791d39 bbd734e8
---
title: Fix create issue for container scanning from security dashboard
merge_request: 16226
author:
type: fixed
...@@ -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
......
...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment