Commit 03ab39e1 authored by Alexander Turinske's avatar Alexander Turinske

Default threat_monitoring#edit type parameter

- to :container_policy
parent 30e86f1e
...@@ -19,7 +19,7 @@ module Projects ...@@ -19,7 +19,7 @@ module Projects
project, project,
environment_id: params[:environment_id], environment_id: params[:environment_id],
id: params[:id], id: params[:id],
type: params[:type], type: :container_policy,
kind: params[:kind] kind: params[:kind]
) )
end end
......
...@@ -151,6 +151,7 @@ RSpec.describe Projects::ThreatMonitoringController do ...@@ -151,6 +151,7 @@ RSpec.describe Projects::ThreatMonitoringController do
project, project,
environment_id: environment_id, environment_id: environment_id,
id: 'policy', id: 'policy',
type: :container_policy,
kind: kind kind: kind
) )
) )
......
...@@ -22541,9 +22541,6 @@ msgstr "" ...@@ -22541,9 +22541,6 @@ msgstr ""
msgid "NetworkPolicies|Network traffic" msgid "NetworkPolicies|Network traffic"
msgstr "" msgstr ""
msgid "NetworkPolicies|New policy"
msgstr ""
msgid "NetworkPolicies|None selected" msgid "NetworkPolicies|None selected"
msgstr "" msgstr ""
......
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