Skip to content
GitLab
Next
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
GitLab.org
gitlab-runner
Commits
35c57070
Verified
Commit
35c57070
authored
Sep 07, 2018
by
Tomasz Maczukin
Browse files
Simplify handler registration
parent
c17a906a
Pipeline
#29661397
passed with stages
in 28 minutes and 19 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
commands/multi.go
commands/multi.go
+1
-1
No files found.
commands/multi.go
View file @
35c57070
...
...
@@ -406,7 +406,7 @@ func (mr *RunCommand) serveMetrics(mux *http.ServeMux) {
}
func
(
mr
*
RunCommand
)
serveDebugData
(
mux
*
http
.
ServeMux
)
{
mux
.
Handle
(
"/debug/jobs/list"
,
http
.
HandlerFunc
(
mr
.
buildsHelper
.
ListJobsHandler
)
)
mux
.
Handle
Func
(
"/debug/jobs/list"
,
mr
.
buildsHelper
.
ListJobsHandler
)
}
func
(
mr
*
RunCommand
)
setupMetricsAndDebugServer
()
{
...
...
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