Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Kevin Lyda
gqgmc
Commits
1fbbc2b1
Commit
1fbbc2b1
authored
Feb 11, 2017
by
Kevin Lyda
💬
Browse files
Use listen address from config.
parent
725e6dbb
Pipeline
#1271
passed with stage
in 1 minute and 59 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
cmd/gqgmcd/main.go
View file @
1fbbc2b1
...
@@ -40,5 +40,5 @@ func main() {
...
@@ -40,5 +40,5 @@ func main() {
m
:=
metrics
.
Register
(
gc
)
m
:=
metrics
.
Register
(
gc
)
go
m
.
Gather
()
go
m
.
Gather
()
log
.
Fatal
(
http
.
ListenAndServe
(
*
addr
,
nil
))
log
.
Fatal
(
http
.
ListenAndServe
(
c
.
ListenAddress
,
nil
))
}
}
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