Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dex
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
dex
Commits
dd313307
Commit
dd313307
authored
Dec 13, 2016
by
rithu leena john
Committed by
GitHub
Dec 13, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #741 from rithujohn191/logging-correction
cmd/dex: modify error messages to info messages.
parents
91cc94dd
8b7f810b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
serve.go
cmd/dex/serve.go
+3
-3
No files found.
cmd/dex/serve.go
View file @
dd313307
...
...
@@ -181,19 +181,19 @@ func serve(cmd *cobra.Command, args []string) error {
}
errc
:=
make
(
chan
error
,
3
)
if
c
.
Web
.
HTTP
!=
""
{
logger
.
Error
f
(
"listening (http) on %s"
,
c
.
Web
.
HTTP
)
logger
.
Info
f
(
"listening (http) on %s"
,
c
.
Web
.
HTTP
)
go
func
()
{
errc
<-
http
.
ListenAndServe
(
c
.
Web
.
HTTP
,
serv
)
}()
}
if
c
.
Web
.
HTTPS
!=
""
{
logger
.
Error
f
(
"listening (https) on %s"
,
c
.
Web
.
HTTPS
)
logger
.
Info
f
(
"listening (https) on %s"
,
c
.
Web
.
HTTPS
)
go
func
()
{
errc
<-
http
.
ListenAndServeTLS
(
c
.
Web
.
HTTPS
,
c
.
Web
.
TLSCert
,
c
.
Web
.
TLSKey
,
serv
)
}()
}
if
c
.
GRPC
.
Addr
!=
""
{
logger
.
Error
f
(
"listening (grpc) on %s"
,
c
.
GRPC
.
Addr
)
logger
.
Info
f
(
"listening (grpc) on %s"
,
c
.
GRPC
.
Addr
)
go
func
()
{
errc
<-
func
()
error
{
list
,
err
:=
net
.
Listen
(
"tcp"
,
c
.
GRPC
.
Addr
)
...
...
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