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
108b9c69
Commit
108b9c69
authored
Dec 31, 2018
by
Peter Leitzen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only use update to create/change tracing settings
parent
a35bf584
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
8 deletions
+1
-8
ee/app/controllers/projects/settings/operations_controller.rb
...pp/controllers/projects/settings/operations_controller.rb
+0
-7
ee/app/views/projects/settings/operations/show.html.haml
ee/app/views/projects/settings/operations/show.html.haml
+1
-1
No files found.
ee/app/controllers/projects/settings/operations_controller.rb
View file @
108b9c69
...
...
@@ -15,13 +15,6 @@ module Projects
render_result
(
result
)
end
def
create
result
=
EE
::
TracingSettingService
.
new
(
project
,
current_user
,
operations_params
).
execute
@tracing_setting
=
project
.
tracing_setting
render_result
(
result
)
end
private
helper_method
:tracing_setting
...
...
ee/app/views/projects/settings/operations/show.html.haml
View file @
108b9c69
...
...
@@ -19,7 +19,7 @@
%span
=
_
(
'Tracing'
)
=
_
(
"To open Jaeger and easily view tracing from GitLab, link the %{link} page to your server"
).
html_safe
%
{
link:
tracing_link
}
=
form_for
setting
,
as: :tracing_settings
,
url:
project_settings_operations_path
(
@project
)
do
|
f
|
=
form_for
setting
,
as: :tracing_settings
,
url:
project_settings_operations_path
(
@project
)
,
method: :patch
do
|
f
|
=
form_errors
(
setting
)
.form-group
=
f
.
label
:external_url
,
_
(
'Jaeger URL'
),
class:
'label-bold'
...
...
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