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
03ab39e1
Commit
03ab39e1
authored
Oct 01, 2021
by
Alexander Turinske
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Default threat_monitoring#edit type parameter
- to :container_policy
parent
30e86f1e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
4 deletions
+2
-4
ee/app/controllers/projects/threat_monitoring_controller.rb
ee/app/controllers/projects/threat_monitoring_controller.rb
+1
-1
ee/spec/controllers/projects/threat_monitoring_controller_spec.rb
...controllers/projects/threat_monitoring_controller_spec.rb
+1
-0
locale/gitlab.pot
locale/gitlab.pot
+0
-3
No files found.
ee/app/controllers/projects/threat_monitoring_controller.rb
View file @
03ab39e1
...
@@ -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
...
...
ee/spec/controllers/projects/threat_monitoring_controller_spec.rb
View file @
03ab39e1
...
@@ -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
)
)
)
)
...
...
locale/gitlab.pot
View file @
03ab39e1
...
@@ -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 ""
...
...
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