This commit is contained in:
parent
0a01896364
commit
919e160273
|
@ -147,7 +147,7 @@ func (s *Server) ListenAndServe() error {
|
||||||
|
|
||||||
s.connlock.Lock()
|
s.connlock.Lock()
|
||||||
|
|
||||||
for conn, c := range s.conns {
|
for _, c := range s.conns {
|
||||||
req, err := http.NewRequest("GET", "http://backend/health", nil)
|
req, err := http.NewRequest("GET", "http://backend/health", nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
|
|
Loading…
Reference in New Issue