Skip to content

Commit 6fce8e1

Browse files
committed
fix Server.Start error (closes jpillora#195)
1 parent c3aa71b commit 6fce8e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ func (s *Server) Run(host, port string) error {
125125

126126
// Start is responsible for kicking off the http server
127127
func (s *Server) Start(host, port string) error {
128-
return s.StartContext(nil, host, port)
128+
return s.StartContext(context.Background(), host, port)
129129
}
130130

131131
// StartContext is responsible for kicking off the http server,

0 commit comments

Comments
 (0)